Parse Facebook API - Callback for real-time updates using facebook API

自古美人都是妖i 提交于 2019-12-10 22:08:00

问题


I am using Parse's cloud backend. I am logging my users in using the ParseFacebook utils but would also like to subscribe to changes in their profile using the following :

https://developers.facebook.com/docs/graph-api/real-time-updates/v2.0#setup

However, this requires a callback url to communicate with and unfortunately, i was unable to find anything in the parse documents. Will i need to set up a custom webhook on parse or is there something that i missed out? Also if i need to set up a webhook to handle get and post, could someone post a link to an easy intro to webhooks, since i do not know anything abiut them.

Please help.


回答1:


You can even use ngrok app to test webhook parsing in local environment. Look at following url: https://ngrok.com/

It converts your "http:/localhost/folder/" into "http://asdhjsd.ngrok.io/folder/" i.e usable to test webhooks or other integration.



来源:https://stackoverflow.com/questions/23429538/parse-facebook-api-callback-for-real-time-updates-using-facebook-api

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!