Follow web intent isn't fired when using the iframe follow button


I have a use case where I need to render the Follow button dynamically - since the old button constructor was never officially supported, the only way to officially do this is to use an iframe. But, the iframe version doesn’t seem to fire off the “follow” web intent callback, whereas the JS method of inserting the widgets.js button after the anchor tag does.

Do I need to manually register the newly generated follow button somehow, or is this a bug where only buttons that have been rendered prior to widgets.js’ inclusion are registered with web intents?


Check this, a twitter employee responded to a similar question here:

Basically, callbacks not support for the iframe button implementation, use the “a” tag version instead.

closed #3

closed #4

closed #5