Created
November 30, 2013 05:51
-
-
Save marcelcaraciolo/7715831 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import urllib.request | |
import json | |
#copie o formato no exemplo e pegue o access_token | |
#em https://developers.facebook.com/tools/explorer | |
url = 'copie aqui o link Connections Friends' | |
resp = urllib.request.urlopen(url).read() | |
data = json.loads(resp.decode('utf-8')) | |
for amigo in data['data']: | |
print (amigo['name']) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment