Search code examples
javascriptfacebookfacebook-messenger

How to Debug Facebook Messenger Extensions?


I'm working on Facebook Messenger Extensions and want to know how to debug frontend (I'm using React). Actually, we don't have access to the console in the webview :(

Any advice ? Best Practices ?

Thanks !


Solution

  • You can now open webviews in a Messenger chat on the Facebook webpage and debug in the console as normal. Make sure to use the updated Messenger Extensions SDK getContext() function though.