简体   繁体   中英

Facebook Messanger get access token for messenger app

Trying to create a Facebook messenger app based on this sample and three values needed are:

  • app secret
  • page access token
  • validation token

When I look up Facebook validation token I'm seeing references like this one which say it is generated between your app and user name.

But according to the code comments it is just an arbitrary value:

// Arbitrary value used to validate a webhook

Am I right to assume that this validation token is completely unrelated to the validation token described in the Javascript SDK documentation?

The access token is different from the validation token.

The validation token is an arbitrary value.

See the docs for more info.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM