开发者

How To stream.publish Within a Profile Tab

开发者 https://www.devze.com 2023-01-25 22:28 出处:网络
I have successfully setup an iFrame based App using the Javascript SDK, and we are trying to enable it on a Page Tab.

I have successfully setup an iFrame based App using the Javascript SDK, and we are trying to enable it on a Page Tab.

It seems Facebook has changed some things lately, because the app breaks when added to the Page Tab. I even went as far as making sure that all external scripts were included in the main index.php file, and that the body tags were taken out.

No, I'm trying to find out if it is even possible to use methods such as the stream.publish within a Profile 开发者_StackOverflow社区Tab at all.

It seems like it isn't. As far as I can tell, you can no longer use any social methods on the Profile Tab.

Here were two related articles on the subject:

insidefacebook.com/2010/08/19/facebook-moving-toward-iframes-over-fbml-for-canvas-apps-and-page-tabs/

-and-

developers.facebook.com/roadmap

If anyone can confirm or deny this, it would be a huge help. The Facebook docs are just all over the place.

Here's a link to the working App Canvas as it stands now: http://apps.facebook.com/votetesting/


I know that on tab pages, you cannot do any JS until the user clicks on something first. Maybe that is the problem.

-Roozbeh

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号