Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to get fb page scoped user id for sending message

Tags:

facebook

I want send message as shown link https://developers.facebook.com/docs/messenger-platform/send-api-reference#rate_limit You can see parameter "USER_ID". How to get page scoped user id? please show screenshot and provide detailed answer.

like image 610
Dzmitriy Salodki Avatar asked May 27 '16 12:05

Dzmitriy Salodki


1 Answers

Currently, there is no official method to connect user_id and page_scoped_id in both ways. You can hack it by picture_url because both URLs are same. see https://chatbotsmagazine.com/fb-messenger-bot-how-to-identify-a-user-via-page-app-scoped-user-ids-f95b807b7e46#.kcae9367y

like image 112
kuboon Avatar answered Sep 19 '22 12:09

kuboon