开发者

Facebook Application: "Add to my pages" dialog

开发者 https://www.devze.com 2023-01-13 15:39 出处:网络
In http://g开发者_StackOverflowithub.com/facebook/connect-js/blob/master/src/core/ui_methods.js methods.js documentation, there is the following note:

In http://g开发者_StackOverflowithub.com/facebook/connect-js/blob/master/src/core/ui_methods.js methods.js documentation, there is the following note:

"Consider putting complex UI methods in their own modules."

Anybody knows if is possible to instantiate an "Add to my pages" dialog, based on Application Profile's link?

What is the name of the method?

Thanks,

And Past


To add a application to your page you need to go to the url below:
http://www.facebook.com/dialog/pagetab?app_id=YOUR_APP_ID&redirect_uri=YOUR_URL

As the application profile's link is something as the following:
http://www.facebook.com/apps/application.php?id=APP_ID

You can just fetch the APP_ID from the url.

More reading from: https://developers.facebook.com/blog/post/611

0

精彩评论

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