Skip to content Skip to sidebar Skip to footer

Tag Facebook Friends Python Sdk Graphapi In Put_photo

I would to post pictures and tag with frieds. graph = facebook.GraphAPI(self.cfg['access_token']) tags = [{'tag_uid': '1234567890', 'x': 0, 'y': 0}, {'tag_uid': '0001234567890', 'x

Solution 1:

error solved with

tags = [{"tag_uid": "1234567890", "x": 0, "y": 0}]
graph.put_photo(image=open(str(file), 'rb'), message='Pictures test', **{'tags[0]': tags})

but tags NOT appear on the facebook wall

Post a Comment for "Tag Facebook Friends Python Sdk Graphapi In Put_photo"