ProjetDataMining

Extract and Count the reactions from posts from public Pages (like Orange for example)

using Facebook Graph API and extract data using Python

facebook python sdk

pip install -e git+https://github.com/mobolic/facebook-sdk.git#egg=facebook-sdk

twitter

easy_install twitter

Upload ipython notebook directly to github

  1. Open a github account and remember your username
  2. Create a public project in your accounts and remember the project_name
  3. git clone the project to a local directory
  4. cd to the same directory
  5. ipython notebook
  6. Develop and test your notebook, remembering to save before exit
  7. git add .ipynb_checkpoints/APIGraph-developerfacebook-checkpoint.ipynb.
  8. git commit -m"Description of your change " to remember what the change was
  9. git push

    1. Facebook Graph API

      • create an account : developers.facebook.com
      • --> developers.facebook.com/tools/explorer
      • add a new app
      • From "Graph API Explorer" drop down, select your app -> developers.facebook.com/tools/explorer
      • select "Get Token", "Get User Access Token" and "Get Access Token."
      • Select "Debug" corresponding to "User Token" -> developers.facebook.com/tools/accesstoken