This Choreo retrieves users in a given category of the Twitter suggested user list. The documentation for this Twitter resource can be found here.
Note that this Choreo has an optional input called Members that can be used to call a related Twitter method which is described here. When setting this input to "true", the Choreo will make a request to:
https://api.twitter.com/1.1/users/suggestions/:slug/members.json
Using this optional flag will return the most recent statuses of the suggested users (if they are not a protected user).
Here's an example of acceptable inputs:
ConsumerKey: {YOUR CONSUMER KEY}
ConsumerSecret {YOUR CONSUMER SECRET}
AccessToken: {YOUR ACCESS TOKEN}
AccessTokenSecret: {YOUR TOKEN SECRET}
Slug: twitter
The following is a sample of the JSON information returned by this Choreo:
Note that in cases where both id and id_str are provided in the output, it is preferable to use id_str.
{
"slug": "twitter",
"size": 46,
"users": [
{
"profile_background_image_url_https": "https://twimg0-a.akamaihd.net/profile_background_images/657090062/l1uqey5sy82r9ijhke1i.png",
"statuses_count": 1640,
"default_profile": false,
"name": "Twitter",
"profile_background_tile": true,
"verified": true,
"profile_banner_url": "https://pbs.twimg.com/profile_banners/783214/1347405327",
"profile_sidebar_fill_color": "F6F6F6",
"followers_count": 23551184,
"geo_enabled": true,
"created_at": "Tue Feb 20 14:35:54 +0000 2007",
"id": 783214,
"entities": {
"url": {
"urls": [
{
"expanded_url": "http://blog.twitter.com/",
"url": "http://t.co/5iRhy7wTgu",
"indices": [
0,
22
],
"display_url": "blog.twitter.com"
}
]
},
"description": {
"urls": []
}
},
"listed_count": 79840,
"profile_background_color": "ACDED6",
"is_translator": false,
"lang": "en",
"utc_offset": -28800,
"profile_background_image_url": "http://a0.twimg.com/profile_background_images/657090062/l1uqey5sy82r9ijhke1i.png",
"profile_link_color": "038543",
"url": "http://t.co/5iRhy7wTgu",
"id_str": "783214",
"screen_name": "twitter",
"protected": false,
"location": "San Francisco, CA",
"description": "Your official source for news, updates and tips from Twitter, Inc.",
"profile_image_url_https": "https://twimg0-a.akamaihd.net/profile_images/2284174758/v65oai7fxn47qv9nectx_normal.png",
"profile_use_background_image": true,
"favourites_count": 22,
"follow_request_sent": false,
"profile_image_url": "http://a0.twimg.com/profile_images/2284174758/v65oai7fxn47qv9nectx_normal.png",
"profile_text_color": "333333",
"time_zone": "Pacific Time (US & Canada)",
"default_profile_image": false,
"following": false,
"profile_sidebar_border_color": "EEEEEE",
"notifications": false,
"contributors_enabled": false,
"friends_count": 131
},
{
"profile_background_image_url_https": "https://abs.twimg.com/images/themes/theme14/bg.gif",
"statuses_count": 3162,
"default_profile": false,
"name": "Twitter Music",
"profile_background_tile": true,
"verified": true,
"profile_banner_url": "https://pbs.twimg.com/profile_banners/373471064/1347670819",
"profile_sidebar_fill_color": "EFEFEF",
"followers_count": 3530901,
"geo_enabled": false,
"created_at": "Wed Sep 14 16:50:47 +0000 2011",
"id": 373471064,
"entities": {
"url": {
"urls": [
{
"expanded_url": "http://music.twitter.com",
"url": "http://t.co/7eUtBKV1bf",
"indices": [
0,
22
],
"display_url": "music.twitter.com"
}
]
},
"description": {
"urls": []
}
},
"listed_count": 6235,
"profile_background_color": "131516",
"is_translator": false,
"lang": "en",
"utc_offset": -36000,
"profile_background_image_url": "http://abs.twimg.com/images/themes/theme14/bg.gif",
"profile_link_color": "009999",
"url": "http://t.co/7eUtBKV1bf",
"id_str": "373471064",
"screen_name": "TwitterMusic",
"protected": false,
"location": "Twitter HQ",
"description": "Music related Tweets from around the world.",
"profile_image_url_https": "https://twimg0-a.akamaihd.net/profile_images/3782510816/ae4c20cca7d4cc918bba74458def2066_normal.png",
"profile_use_background_image": true,
"favourites_count": 426,
"follow_request_sent": false,
"profile_image_url": "http://a0.twimg.com/profile_images/3782510816/ae4c20cca7d4cc918bba74458def2066_normal.png",
"profile_text_color": "333333",
"time_zone": "Hawaii",
"default_profile_image": false,
"following": false,
"profile_sidebar_border_color": "000000",
"notifications": false,
"contributors_enabled": false,
"friends_count": 93
}
],
"name": "Twitter"
}