现在,我希望在用户将应用程序安装到他/她的facebook页面后,自动重定向到facebook应用程序的索引页面。
我的方法是使用href标记,如下所示:
<a href='http://www.facebook.com/add.php?api_key=".$APPID."&pages&perms=publish_stream&page=".$paID."' target='_top'>Add APP</a>我已经尝试了一些方法,比如将redirect_uri或next或post_authorize_redirect_url作为参数添加到add.php链接,但它们都在安装后重定向到facebook页面或应用程序。
那么如何实现呢?
有用的链接
http://developers.facebook.com/docs/authentication/
我知道它可以在authentication.Such之后重定向为:
https://www.facebook.com/dialog/oauth?client_id=YOUR_APP_ID&redirect_uri=https://www.facebook.com/connect/login_success.html&response_type=token但是安装之后会发生什么呢?
发布于 2011-09-26 14:51:22
https://www.facebook.com/dialog/oauth?client_id=YOUR_APP_ID&redirect_uri=YOUR_URL客户端ID是您的应用id重定向uri是您的回调页面
有关更多信息,请查看this页面
发布于 2011-09-26 14:19:46
您只需使用应用程序接口将应用程序添加到页面即可- https://developers.facebook.com/docs/reference/api/page/#tabs
https://stackoverflow.com/questions/7550552
复制相似问题