how to publish photos on facebook wall from an external ( django + python) application
I want to publish my photos from django application to the facebook wall, i use photos.upload method I am not using graph API. but I am not able to publish it even i took permissions to publish photos as well开发者_开发百科 but still not working......
Please help me how could i achieve it please give me some sample code that will help me
you can publish photos by using this it work form me...
request.facebook(
method = "stream_publish",
args={
'message' : "Test Message with Picture",
'attachment' : simplejson.dumps({ 'media': [
{'type': 'image',
'src': 'http://icanhascheezburger.files.wordpress.com/2009/03/funny-pictures-your-cat-is-bursting-with-joy1.jpg',
'href': 'http://xxxx/xx/5157d6da/'}]}),
'uid' : 'uid'})
精彩评论