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


#1

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?


#2

Check this, a twitter employee responded to a similar question here: https://dev.twitter.com/discussions/6032

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


#3

#4

#5