my bot running in perfect conditions when use trought funpage. want know if can start conversation user instead user it.
for example: user on page next interation talk bot. don´t want clients start want bot starts.
at case can consider user authorized app.
not if first messenger interaction you.
when message user, you're sending message user id page scoped.
unless they've messaged page, there's no way id
the id must id retrieved through messenger entry points or through messenger webhooks (e.g., person may discover business in messenger , start conversation there.
these ids page-scoped ids (psid). means ids unique given page.
if have existing facebook login integration, user ids app-scoped , not work messenger platform.
(see https://developers.facebook.com/docs/messenger-platform/send-api-reference)
Comments
Post a Comment