Tweet button code error

widgetsjs

#1

https://platform.twitter.com/widgets.js causes following messages in the browser’s error console

[Warning] Invalid App Id: Must be a number or numeric string representing the application id. (sdk.js, line 64)
[Warning] Received message of type object from http://platform.twitter.com, expected a string (sdk.js, line 64, x2)


#2

sdk.js is most likely facebook’s javascript SDK and not our’s. My guess (which I have been able to reproduce) is that sdk.js is not ignoring iframe post messages that do not concern it. Tweet button uses iframe post message to communicate with iframes; and sdk.js should ignore them.

Most likely this error is harmless. With respect to Tweet buttons, as long as tweet button renders and works fine, there is no concern for you here.


#3

This topic was automatically closed 45 hours after the last reply. New replies are no longer allowed.