How to connect to Facebook Graph API from Python using Requests if I do not need user access token?

前端 未结 2 845
你的背包
你的背包 2020-12-28 10:08

I am trying to find the easiest way how to use Facebook Graph API using my favorite Requests library. The problem is, all examples I found are about getting user acc

2条回答
  •  Happy的楠姐
    2020-12-28 10:52

    If you just need a quick/small request, you can manually cut and paste the access token from here into you code: https://developers.facebook.com/tools/explorer

    Note: Unlike Richard Barnett's answer, you'll need to regenerate the code manually from the graph api explorer every time you use it.

提交回复
热议问题