如何在开发者Facebook个人资料上更改用户的应用设置? [英] How to change user's app settings on developers facebook profile?
问题描述
基本上我要实现的是,如果用户检查chechbox时说:允许应用程序在Facebook
中更改您的App’s Canvas URL
和Secure Canvas URL
以便正常工作",以更改用户开发者的facebook帐户上的这两个字段.我没有尝试任何事情,因为我对Facebook Developers
文档进行了很多研究,但没有找到适合我的问题的任何东西.我想我需要一些许可才能做到这一点,但我不知道哪个.代码示例将不胜感激.
Basically what I want to achieve is if user checks chechbox saying: "Allow app to change your App’s Canvas URL
and Secure Canvas URL
within Facebook
in order to work properly" to change these two fields on user's developer's facebook account. I haven't tried anything because I've researched a lot on Facebook Developers
documentation and haven't find anything that suits my problem. I assume I'll need some of the permisssions to do this, but I don't know which. Samples of code would be very appreciated.
推荐答案
我也为您做过一些研究.
I did some research for you as well.
您想要完成的事情是可能的.如果在此页面上找到正确的文档: https://developers.facebook.com/docs/graph-api/reference/application
What you want to acomplish is possible. If found the right documentation on this page: https://developers.facebook.com/docs/graph-api/reference/application
您首先需要具有应用程序ID和应用程序访问令牌. HTTP示例:
You first need to have the Application ID and the app access token. HTTP example:
POST /v2.5/{application-id}?canvas_url={url}&secure_canvas_url={url} HTTP/1.1
Host: graph.facebook.com
我希望你能弄明白点.祝你好运!
I hope you can figure something out. Goodluck!
这篇关于如何在开发者Facebook个人资料上更改用户的应用设置?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!