Can I list ALL the groups of a friend on the face? Type show what groups it is?
I found this code but it's not what I want, it just shows my friends:
import urllib2
import json
url = 'https://graph.facebook.com/me/friends?access_token=TOKEN'
resp = urllib2.urlopen(url).read()
data = json.loads(resp.decode('utf-8'))
for amigo in data['data']:
print (amigo['name'])