Skip to content

Instantly share code, notes, and snippets.

@fmasanori
Last active December 19, 2015 04:59
Show Gist options
  • Save fmasanori/5901531 to your computer and use it in GitHub Desktop.
Save fmasanori/5901531 to your computer and use it in GitHub Desktop.
Facebook Profile Python2
#deprecated with in 30 April, 2015, with new 2.0 Facebook API
import urllib
import json
from pprint import pprint
url = 'https://graph.facebook.com/fmasanori'
resp = urllib.urlopen(url).read()
data = json.loads(resp)
pprint(data)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment