sns-sdks / python-facebook

A simple Python wrapper for facebook graph api :sparkles: :cake: :sparkles: .
https://sns-sdks.github.io/python-facebook/
328 stars 86 forks source link

Sample code not working #195

Closed Gautamshahi closed 2 years ago

Gautamshahi commented 2 years ago

I am not able to execute the sample code

image

What is the reason for it?

MerleLiuKun commented 2 years ago

Hey,

first, Your secret have show in the picture. You need regenerate it to protect your app.

Then, I think you make some wrong for the Api class provided by the library.

If you want to use api.user.get_info(), You need initial the api with FacebookAPI class. Not the GraphAPI class.