I've seen this post Upload Photo To Album with Facebook's Graph API I want to know whether this is possible with python?
Asked
Active
Viewed 2,959 times
1 Answers
1
It is possible to do with any language as long you can HTTP POST
the data to the endpoint. The API itself is independent of the language you use to access it.
Example: facepy
graph = GraphAPI(oauth_access_token)
graph.post(
path = 'ALBUM_ID/photos',
source = open('parrot.jpg')
)
See more at: http://developers.facebook.com/docs/reference/api/album/#photos

phwd
- 19,975
- 5
- 50
- 78
-
hey thanks ... can u tell me/suggest where i can find docs for the fb-py sdk. The docs of fb are explained using php. – Ajay Kumar Oct 25 '12 at 13:33
-
@AjayKumar https://facepy.readthedocs.org/en/latest/usage/graph-api.html and there are a few blogs out there that use it in examples including mine http://philippeharewood.com/facebook/tag/facepy/ – phwd Oct 25 '12 at 13:58