Sunday, December 21, 2014

Getting started with Python API for Facebook

Install the repository with

sudo pip install facebook-sdk

Here is a sample program to print the name of your friends 


To get the oauth_access_token follow this link Graph API Explorer


See the following the snippet for printing posts with some specific substring in them. This way we can complete the hack of posting multiple comments on similar posts



I found another python libray, which seems more easier to use than this one. visit that Facepy

No comments:

Post a Comment