views:

29

answers:

0

hi,

I have a piece of python code which is used to send notification to a perticular user.

request.facebook.notifications.send(['500263834'], 'msg','user_to_user')
return HttpResponse()

which works fine when I run it on my own server (not from the facebook canvas page) and gives me a error that I need a facebook session. Which sounds fair.

But when I try to access the same piece of code from my canvas page nothing really happens. Here are my url's

http://apps.facebook.com/feline-frenzy/endpoints/sendnotifications/123/
felinefrenzy.varheroes.com/felineapp/canvas/endpoints/sendnotifications/123/