Closed eoinclancy1 closed 5 years ago
Can you specify what project of this repository you are testing and where? Besides that, I just migrated all projects to the latest Graph API version, which might resolve your issue.
Sure. Currently working on the chat-extension and running it from Heroku as per the instructions. Have tested it across a couple of Android and iOS devices through the FB app and still running into the same issue
The user context is retrieved at: https://github.com/fbsamples/messenger-bot-samples/blob/d6b2f8a8831f2939304018b409e2f37deaf7dc10/chat-extensions/views/index.ejs#L17
If that call fails, the viewerId
in the attachApp
function will be undefined, see: https://github.com/fbsamples/messenger-bot-samples/blob/e7d06aef688e073dadc39132bdc652dac118c176/chat-extensions/client/index.js#L32
This results in the error message to show up. A possible cause is attempting to load a non-whitelisted domain. I generalized the error message with 40ccbfab1f068f04dabfd2a3a08821197bce883e to make it clearer that it might not necessarily be a user agent issue when the extension fails to load.
Currently experiencing the same issue on iOS 12.2 on iPhone Xs. It keeps telling me to access the service via the native app, which is where I am