<< Back to Swarm API Documentation
Description:
Allows you to get a collection of links for a swarm given a swarm id.
URL:
http://api.swarmforce.com/<version>/GetLinksBySwarm/
Return Formats:
JSON
HTTP Method(s):
POST
Requires Authentication (about authentication):
None required.
API rate limited (about rate limiting):
1 call per request
Parameters:
- swarm_id. Required. Specifies the ID of the swarm whose tweets you are trying to access.
- Example: 1026 (the id for the Social Revolution swarm)
- count. Optional. Specifies the number of tweets to retrieve for the given call. Current maximum is 100.
- page. Optional. Specifies the page of results to retrieve.
- order. Optional. Specifies the order in which the results will be sorted.
- Example: 1 - sorts by chronological order on date tweeted (not date created), 2 - sorts by karma
- format. Optional. Specifies the requested return format. Current the only supported return format is JSON.
- consumer_key. Optional. Specifies your application's consumer key. Does not count an API request against your IP address. Apply for one now.
Response (about return values):
JSON Object (truncated):
{
[
{
"karma":"36.458",
"date_created":"2009-06-16 15:01:10",
"date_updated":"2009-06-17 23:45:44",
"url":"http://fndry.gr/d",
"source":"twitter",
"img":"http://images.pageglimpse.com/v1/thumbnails?devkey=9b463535be96d29ce58f347914ac9b30&size=small&root=yes..",
"title":"TechStars Episode 3: A Community Party",
"hits":"236",
"destination":"http://www.feld.com/wp/archives/2009/06/techstars-episode-3-a-community-party.html?utm...",
"shortner":""
}
]
}
Usage examples:
See Code Samples
Do you have an example to share in the language of your choice? Please share!
<< Back to Swarm API Documentation
Comments (0)
You don't have permission to comment on this page.