8

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 !

ang
  • 93
  • 6

1 Answers1

0

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.

jammygb
  • 133
  • 6
  • Thanks ! I found this solution too :) – ang Oct 30 '17 at 14:04
  • 1
    Could you explain this in a bit more details? How would you access the chat extensions on a webpage? and by webpage, you mean on a computer (as opposed to smart phone)? @jammygb – Robert Vunabandi Dec 17 '19 at 18:02