Handling notifications request from Facebook after successful subscription
问题 I'm trying to implement Facebook realtime API. I've added a subscription successfully. (PLease visit url to find out how... What is verify token in Facebook Realtime API ) But I'm not getting any notifications from FB. Whenever a user makes any changes, FB makes a POST call to my callback_url(I checkecd the access logs of my site). But I'm not able to write the data to a file. My CODE IS: from datetime import datetime def fb_notifications(request): handle1=open('/path_to_log_file/smt_logs.log