开发者

How to give a Facebook App Tab access to the fan page data without having users log in?

I wanted to build a fan page tab that would pull that page's photo albums. At first I thought I would need to build app with extended permissions to ask for "manage_pages" and开发者_开发技巧 "offline_access" so that the app can use my access as page owner to access page data.

However, random users that go to the tab will now be asked for permissions also, which I don't want.

What's best way to build a tab that can access fan page data via the api?


If you don't have any fancy privacy settings for your page, you can just use the Graph API to pull all albums from the page - means creating a tab and link to a php file on your server where you do just this. Downside of this is that it's quite slow, but I can't tell whether the javascript sdk would be any faster (don't think so)

If you need some help pulling and printing them out, leave a comment!

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜