swellinfo |
02-16-2009 04:12 PM |
I've gotten FB connect with Vbull, and now I'd like to integrate FB connect fully with the rest of my site, so I can have feeds published from other actions on my site.
Has anyone accomplished this successfully using the files installed on the forum?
So far, I have added the appropriate connect tags to my common footer (outside of vbull):
Code:
<!-- fbconnect -->
<script type="text/javascript">
<!--
var bburl = FORUM_URL;
//-->
</script>
<script src="http://static.ak.connect.facebook.com/js/api_lib/v0.4/FeatureLoader.js.php" type="text/javascript"></script>
<script src=FORUM_URL+"/clientscript/fbconnect.js" type="text/javascript"></script>
<script type="text/javascript">
<!--
// Main Facebook Connect Javascript Initialization
FB.init(API_ID, "/forum/xd_receiver.htm");
//-->
</script>
<!-- / fbconnect -->
- Show quoted text -
I am able to have people login, but I have not been able to have users publish feeds. This is what I've tried, when users submit a form - onsubmit="on_load()":
Code:
<script>
function on_load() = function {
var template_data = {"blah":"blah"};
FB.Connect.showFeedDialog(142926675440, template_data, null, null, null, FB.RequireConnect.promptConnect);
}
The publish feed window pops up, but it is blank. Am I missing something here?
|