javascript - Facebook like button in site that uses post message spams console -
I have a site that uses a lot of post message communication between iframes
[domain] ] A message of type object was received, a string was expected.
This makes it very difficult to grow. Is there any way to stop this extra logging? I am new to using facebooks apis, so I hope that I am just missing something simple, they can not potentially believe that none other than them will never use postmastages.
Thank you!
Actually this is not additional logging. It is from Facebook SDK just to remove all the consoles from the library For SDK can be useless.
1. Download SDK.
2. Invert it to remove console logging (production version.)
. 3. Use it in your site.
Another link that can help you:
Comments
Post a Comment