How do I use FB.Connect.streamPublish in an iframe facebook app? -
i'm making simple iframe-based facebook app. have following code size iframe:
fb_requirefeatures(["connect"], function(){ fb.xdcomm.server.init('/xd_receiver.htm'); fb.canvasclient.starttimertosizetocontent(); fb.canvasclient.syncurl(); }); i want add link display popup allow user post app-defined image/link user's wall. things working initially, tried using following code on click event:
fb.connect.streampublish(''); however, nothing happens. i've tried adding:
fb.init(<?=api_key?>, '/xd_receiver.htm'); both inside fb_requirefeatures function, before it, after it... no luck. nothing happens. no errors thrown. nothing. ideas?
check out page complete instructions on setting stream publishing iframe apps using connect:
http://thetechnicalexperience.blogspot.com/2010/02/how-to-use-fbconnectstreampublish.html
Comments
Post a Comment