i am using the following code to post status update to a users profile in facebook but every time it just returns could not update what is wrong here ?
def fb_post_message(request):
import urllib2
try:
urllib2.urlopen('https://graph.facebook.com/me/feed',"message='hello world'")
except:
return HttpResponse('could not submit')
return HttpResponse('submitted');