I have a Facebook iframe app that runs on various Facebook pages. I can create a link directly to my app with the following hyperlink:
http://www.facebook.com/pages/PAGE-NAME/PAGE-ID?sk=app_APP-ID where PAGE-NAME, PAGE-ID, and APP-ID are populated with their corresponding variables.
Is there a way to link to my app if I don't know the PAGE-NAME, and only know PAGE-ID and my A开发者_运维技巧PP-ID?
I can link to the page without knowing the PAGE-NAME using the following hyperlink: www.facebook.com/profile.php?id=PAGE-ID
However I can't seem to find a way to link to my app's iframe on the page. I've tried these 2 links but they don't work either:
www.facebook.com/profile.php?id=PAGE-ID&sk=app_APP-ID www.facebook.com/profile.php?id=PAGE-ID&v=app_APP-ID
http://graph.facebook.com/PAGE_ID
json_decode that, get the LINK field.
append your
?sk=app_APP-ID
精彩评论