Facebook Graph API

末鹿安然 提交于 2020-02-05 04:42:06

问题


Can I use the Facebook Graph API without the creation of my Facebook Application? As I understand it, for each operation I need to use the OAuth key. And I can only get user OAuth key if they authorize my Facebook application. Am I right? I need to get user feed, and post to it.


回答1:


Facebook Graph Api needs your APP ID which you can only get from your Facebook application. So i think its not possible to post data on facebook without having Application ID.




回答2:


You can use this tool to dynamically generate an access_token for testing: https://developers.facebook.com/tools/explorer/

Also, check out RapidAPI here. I've specifically linked you to the FacebookGraphAPI block. Here you can instantaneously connect to numerous Facebook endpoints. The platform will generate a code snippet that you can directly insert into your code.




回答3:


Depends on what you want to do, for most tasks you have to have an app id... but If you want to get the amount of shares for a certain page, for example, you can do it with no app ID.




回答4:


I think there is FBML (facebooks mark up language) which you can embed on your site which can handle some basic tasks like commenting or liking.




回答5:


No, You can't do that as Facebook Graph API needs access token which u can get only by authorising your logged-in user by your (Created) App in Facebook.



来源:https://stackoverflow.com/questions/5653370/facebook-graph-api

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!