Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with the Facebook and Twitter Client Tutorial #10

Open
adityagupta679 opened this issue Dec 3, 2016 · 2 comments
Open

Problem with the Facebook and Twitter Client Tutorial #10

adityagupta679 opened this issue Dec 3, 2016 · 2 comments

Comments

@adityagupta679
Copy link

The tutorials in https://github.com/OpenTechSchool/python/wiki/Facebook-Client and https://github.com/OpenTechSchool/python/wiki/Twitter-Client won't work because the API's dont work well .
Twitter's API is deprecated and Facebook's API requires tokens.

Output of Facebook API :

{
   "error": {
      "message": "An access token is required to request this resource.",
      "type": "OAuthException",
      "code": 104,
      "fbtrace_id": "AWJ1Ar4nisa"
   }
}
@charljulien
Copy link

Same problem here, Any insight ?

@adityagupta679
Copy link
Author

@charljulien We need to look into how the Facebook API has changed since this tutorial was written. API's in general now require a key to prevent unauthorized bots from continuously querying the resources and crowding up the system . You have got to register as a developer at facebook or twitter and create an app, I guess and get an access token , that you can then include as a parameter in the search query. I will have to go through it properly before I can suggest a workable fix , but the essence of the problem is the access token , if i am not mistaken. This link can help you get a better understanding of the facebook graph API and what the access token is.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants