Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support multiple Facebook page access tokens #45

Closed
chentsulin opened this issue Nov 27, 2017 · 1 comment · Fixed by #60
Closed

Support multiple Facebook page access tokens #45

chentsulin opened this issue Nov 27, 2017 · 1 comment · Fixed by #60

Comments

@chentsulin
Copy link
Collaborator

chentsulin commented Nov 27, 2017

It's cool to support multiple Facebook page access tokens in messenger client, and it is also a frequently asked features:
microsoft/botframework-sdk#1495

We can pass function or async function as AccessToken:

type AccessToken = string | (pageId: string) => string | (pageId: string) => Promise<string>;
@chentsulin
Copy link
Collaborator Author

Should add an example for this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant