Hey Anu, The tweet button currently doesn't support callbacks. However, there's this Enhancement ticket you can vote for: http://code.google.com/p/twitter-api/issues/detail?id=1835
Arnaud / @rno <http://twitter.com/rno> On Mon, Apr 11, 2011 at 10:39 PM, anu <[email protected]> wrote: > Hi all, > > I am sharing the posts made in my rails application in twitter. Here > is the code I am using: > > <div id="custom-tweet-button"> > <a href="http://twitter.com/share?url=[url_value in this > palce]&text=This is a test" target="_blank"> > <%=image_tag("../images/share_icons/ > share_this_on_twitter.png", :id=>"twitshare", :border => 0) %> > </a> > </div> > > When the user clicks on the twitter sharing image, another window will > open in which it asks the user to login to twitter if he is not > already logged in. Then after that tweet box will appear there with > text populated in it. The user can click the tweet button there and > the tweet will be posted in the logged in twitter account and a > confirmation message will be displayed in this window and the window > will be closed in few seconds. But my problem is this: How does my > application know that the tweet is posted in twitter? the application > needs to give some rewards to the user upon successful tweets in > twitter. > > Any help? > > Thanks, > > Anu > > -- > Twitter developer documentation and resources: http://dev.twitter.com/doc > API updates via Twitter: http://twitter.com/twitterapi > Issues/Enhancements Tracker: > http://code.google.com/p/twitter-api/issues/list > Change your membership to this group: > http://groups.google.com/group/twitter-development-talk > -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
