开发者

How to tell which Facebook Page my Page Tab App is installed on [duplicate]

This question already has an answer here: Closed 11 years ago.

Possible Duplicate:

How can I find out what Page has insta开发者_JAVA百科lled my Facebook Canvas App?

I have a facebook app and I have installed this app to a page tab through the graph api. It worked fine so far.

Once this app may be installed to a lot of pages, what do I need is, within my app, to be able to get the ID of the page whom is holding the app.

Is it possible?


it is passed as a part of a signed_request to your app, it is called "page":

A JSON object containing the page id string, the liked boolean if the user has liked the page, the admin boolean if the user is an admin. Only available if your app is an iframe loaded in a Page tab.

https://developers.facebook.com/docs/authentication/signed_request/

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜