Skip to content

Instantly share code, notes, and snippets.

@fmasanori
Created January 29, 2013 19:58
Show Gist options
  • Star 6 You must be signed in to star a gist
  • Fork 3 You must be signed in to fork a gist
  • Save fmasanori/4667205 to your computer and use it in GitHub Desktop.
Save fmasanori/4667205 to your computer and use it in GitHub Desktop.
Python 3.x Facebook Profile
import urllib.request
import json
from pprint import pprint
url = 'https://graph.facebook.com/fmasanori'
resp = urllib.request.urlopen(url).read()
data = json.loads(resp.decode('utf-8'))
pprint (data)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment