ReTweet.net TweetBacks and ReTweet API

[av_one_full first min_height=” vertical_alignment=” space=” custom_margin=” margin=’0px’ padding=’0px’ border=” border_color=” radius=’0px’ background_color=” src=” background_position=’top left’ background_repeat=’no-repeat’ animation=”]

[av_heading heading=’ReTweet.net TweetBacks and ReTweet API’ tag=’h1′ style=’blockquote modern-quote’ size=” subheading_active=” subheading_size=’15’ padding=’10’ color=” custom_font=” custom_class=”][/av_heading]

[av_textblock size=” font_color=” color=” custom_class=”]
To contact me about speaking at your event click here.
[/av_textblock]

[/av_one_full][av_one_full first min_height=” vertical_alignment=’av-align-top’ space=” custom_margin=’aviaTBcustom_margin’ margin=’0px’ margin_sync=’true’ padding=’0px’ padding_sync=’true’ border=” border_color=” radius=’0px’ radius_sync=’true’ background_color=” src=” attachment=” attachment_size=” background_position=’top left’ background_repeat=’no-repeat’ animation=” custom_class=”]

[av_hr class=’default’ height=’50’ shadow=’no-shadow’ position=’center’ custom_border=’av-border-thin’ custom_width=’50px’ custom_border_color=” custom_margin_top=’30px’ custom_margin_bottom=’30px’ icon_select=’yes’ custom_icon_color=” icon=’ue808′ font=’entypo-fontello’ custom_class=”]

[av_textblock size=” font_color=” color=” custom_class=”]
While building TweetSuite and researching ReTweets, I came across a need for a service that would capture all links on Twitter and expand them from their shortened version into the full URLs. I’ve written a service to do just that and an API to allow everybody access.

This is all very alpha! Which is why I’m not releasing it publicly yet. So don’t be surprised if it goes down or there are significant changes. If you’re using it (or plan to) please leave a comment below.

ReTweet.net API Documentation

Count ReTweets

This method returns the number of times a given URL has been ReTweeted.

URL

http://api.retweet.net/count

Parameters:

  • url Specify the long URL to count ReTweets for (should be URL encoded).

Response

	http://wefollow.com
	281

Example

http://api.retweet.net/count?url=http://wefollow.com

Top ReTweeted Links

This method returns the top most ReTweeted links in the last 24 hours.

URL

http://api.retweet.net/top

Parameters:

  • limit The number of top links that will be returned (maximum and default:100)

Response

	
		1
		http://idefix.ws/tissa.htm
		580
	
		2
		http://140mafia.com
		576
	

Example

http://api.retweet.net/top?limit=20

Get TweetBacks

This method pulls the most recent mentions of a specific link from Twitter and returns them for use in TweetBack implementations.

URL

http://api.retweet.net/get

Parameters:

  • url Specify the long URL to find TweetBacks for (should be URL encoded).
  • limit The number of TweetBacks that will be returned (maximum and default:100)
	http://wefollow.com
	
		surelightsignco
		2009-Aug-Wed 11:11:55
		added Sure Light Sign to the http://wefollow.com twitter directory
		
	
	
		DavidLoveless
		2009-Aug-Wed 11:10:35
		added myself to the http://wefollow.com twitter directory 
		http://twitter.com/DavidLoveless/status/3269792243
	

Example

http://api.retweet.net/get?url=http://wefollow.com&limit=20

[/av_textblock]

[/av_one_full]