Callback on iFrame follow button click


#1

I’m trying to figure out how to either run a javascript function or do a php callback after a user has clicked the follow button (iframe).

Just to explain the situation… I have a website where we do development updates and site updates through twitter. We ask that users follow us prior to contacting us by email (to avoid excessive questions about issues already explained in the twitter). I’d like to update our database with users who follow us by somehow being notified that they’ve begun following us. So, when they click our follow button, how can I get twitter to send us a “successful follow” message or something of that sort? I’ve been trying to figure out how to do it for the past two days, but have had no luck. Any suggestions?


#2

You should check out Web Intents Javascript Events: https://dev.twitter.com/docs/intents/events


#3