Tweet Button



I ask the user to login to my site and tweet. After they signed in, I use a session variable to store their User ID. I will give credits for the people who clicked the Tweet Button to Tweet. But how can I do it? I do not know how to call the back-end file to update the database after the user tweet by clicking the Tweet Button. Could anybody help me here?

Thank you very much!



I’m in a similar situation. Did you find a solution?


Hi Jasmine,

Yes. You can use Ajax to track the click of the user and invoke your back-end file accordingly.

I use this method to track the twitter button and facebook button. And everything looks great.



closed #4

closed #5