Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to link Facebook App User Id with Messenger Id for use with Facebook Messenger Bot

I have a Facebook app that users log in to with a mobile app, using a Facebook login button. That user ID, which is app-specific, is how we identify that user.

Is there a way to determine that app-specific user ID from messenger through a Facebook bot? I don't think there is, but if someone can think of a workaround, please let me know.

like image 545
user2322082 Avatar asked Oct 19 '22 06:10

user2322082


1 Answers

I found a workaround and wrote about it some time ago. (Its very hacky 😉)

FB Messenger Bot 🤖 — How to identify a user via page- & app-scoped user-id’s https://chatbotsmagazine.com/fb-messenger-bot-how-to-identify-a-user-via-page-app-scoped-user-ids-f95b807b7e46#.5ak8mikm4

Let me know if you need more help!

like image 159
phips28 Avatar answered Oct 21 '22 03:10

phips28