<< Back to Swarm API Documentation
Description:
Allows you to get all the members for a swarm given a swarm id.
URL:
http://api.swarmforce.com/<version>/GetMembersBySwarm/
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 members to retrieve for the given call. Current maximum is 100.
- order. Optional. Specifies the order in which the results will be sorted.
- Example: 1 - sorts by chronological order on date joined, 2 - sorts by karma, 3 - sorts by last names, 4 - sorts by first names
- 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):
{
[
{
"displayname":"Jason Jones",
"karma":"221.046",
"date_joined":"2008-10-15 14:59:26",
"role":"1",
"photo":"http://www.swarmforce.com/_images/user_generated/users/273576EQWDI6OS2ja6/main/peqYXzdyALNz.jpg",
"photo_facebook":"http://www.swarmforce.com/_images/user_generated/users/273576EQWDI6OS2ja6/main/bbbIxSUkctXwkHzbMr.jpg",
"public_id"="273576EQWDI6OS2ja6"
}
]
}
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.