pradeep
pradeep

Reputation: 176

Get Facebook app scoped id from page scoped id

I configured Facebook messenger webhook and Facebook Page tab webhook. I am trying to group facebook posts and facebook messages based on user. But, I get page scoped id from messenger webhook and app scoped id from page tab webhook. Both are different. I found a way to link them by using profile image URL, which is not an ideal way, because if user changes profile image, URL changes. Can any one suggest other way to link app scoped id using page scoped id?

Upvotes: 0

Views: 971

Answers (2)

Eliseu Silva
Eliseu Silva

Reputation: 1

This is only possible if you are the owner of the page and application. If the page is third party it will not be listed as part of the deal.

Upvotes: -1

Elwhis
Elwhis

Reputation: 1261

I know the question is a bit old, but seeing there is no answer yet. Take a look at ID matching API https://developers.facebook.com/docs/messenger-platform/connecting-accounts.

You need to link your page and app to a facebook business and then you will be able to call the api to get corresponding app scoped id - page scoped id pairs.

Upvotes: 2

Related Questions