-
-
Save anop72/73d526accc65fc05362bee377e49fa52 to your computer and use it in GitHub Desktop.
fb_message_api
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -X POST "https://graph.facebook.com/v2.7/me/subscribed_apps?access_token=PAGE_APP_TOKEN" | |
curl -X POST -H "Content-Type: application/json" -d '{ | |
"setting_type":"greeting", | |
"greeting":{ | |
"text":"greeting message" | |
} | |
}' "https://graph.facebook.com/v2.6/me/thread_settings?access_token=PAGE_APP_TOKEN" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
when ran in terminal, shows an error:
{"error":{"message":"Invalid OAuth access token.","type":"OAuthException","code":190,"fbtrace_id":"FbV8frn2vRj"}