Pull API \ Retrieve the followings of a Twitter user
Pull API Resources
Resource/URI | GET |
---|---|
Facebook · Retrieve a user's likes
/pull/identities/<identity_token>/facebook/likes.json
|
Retrieve Likes |
Facebook · Retrieve a user's posts
/pull/identities/<identity_token>/facebook/posts.json
|
Retrieve Posts |
Facebook · Retrieve a user's groups
/pull/identities/<identity_token>/facebook/groups.json
|
Retrieve Groups |
Facebook · Retrieve a user's group posts
/pull/identities/<identity_token>/facebook/group/<pageid>/posts.json
|
Retrieve Group Posts |
Facebook · Retrieve a user's pages
/pull/identities/<identity_token>/facebook/pages.json
|
Retrieve Pages |
Facebook · Retrieve a user's page posts
/pull/identities/<identity_token>/facebook/page/<pageid>/posts.json
|
Retrieve Page Posts |
Facebook · Retrieve a user's page post reactions
/pull/identities/<identity_token>/facebook/page/<pageid>/posts.json
|
Retrieve Page Post Reactions |
LinkedIn · Retrieve a user's posts
/pull/identities/<identity_token>/linkedin/user/posts.json
|
Retrieve User Posts |
LinkedIn · Retrieve a user's companies
/pull/identities/<identity_token>/linkedin/companies.json
|
Retrieve Companies |
LinkedIn · Retrieve a user's company posts
/pull/identities/<identity_token>/linkedin/company/<companyid>/posts.json
|
Retrieve Company Posts |
LinkedIn · Retrieve a post
/pull/identities/<identity_token>/linkedin/post.json
|
Retrieve Post |
LinkedIn · Retrieve post comments
/pull/identities/<identity_token>/linkedin/post/comments.json
|
Retrieve Post Comments |
Pinterest · Retrieve a user's boards
/pull/identities/<identity_token>/pinterest/boards.json
|
Retrieve Boards |
Pinterest · Retrieve a user's board pins
/pull/identities/<identity_token>/pinterest/board/<boardid>/pins.json
|
Retrieve Board Pins |
Steam · Retrieve a user's games
/pull/identities/<identity_token>/steam/games.json
|
Retrieve Games |
TikTok · Retrieve videos information
/pull/identities/<identity_token>/tiktok/videos.json
|
Retrieve Videos |
Twitch · Retrieve all broadcaster's subscriptions
/pull/identities/<identity_token>/twitch/broadcaster/subscriptions.json
|
Retrieve Broadcaster's subscriptions |
Twitch · Retrieve channels information
/pull/identities/<identity_token>/twitch/channels.json
|
Retrieve Channels |
Twitch · Retrieve clips information
/pull/identities/<identity_token>/twitch/clips.json
|
Retrieve Clips |
Twitch · Retrieve games information
/pull/identities/<identity_token>/twitch/games.json
|
Retrieve Games |
Twitch · Retrieve most viewed games
/pull/identities/<identity_token>/twitch/games/top.json
|
Retrieve Top Games |
Twitch · Retrieve live streams
/pull/identities/<identity_token>/twitch/streams.json
|
Retrieve Streams |
Twitch · Retrieve users information
/pull/identities/<identity_token>/twitch/users.json
|
Retrieve Users |
Twitch · Retrieve follow relationships between two users
/pull/identities/<identity_token>/twitch/users/follow.json
|
Retrieve Users Follows |
Twitch · Retrieve videos information
/pull/identities/<identity_token>/twitch/videos.json
|
Retrieve Videos |
Twitter · Retrieve a user's followers
/pull/identities/<identity_token>/twitter/followers.json
|
Retrieve Followers |
Twitter · Retrieve a user's followings
/pull/identities/<identity_token>/twitter/followings.json
|
Retrieve Followings |
Twitter · Retrieve a user's tweets
/pull/identities/<identity_token>/twitter/tweets.json
|
Retrieve Tweets |
Twitter · Retrieve a user
/pull/identities/<identity_token>/twitter/user.json
|
Retrieve User |
YouTube · Retrieve a user's channels
/pull/identities/<identity_token>/youtube/channels.json
|
Retrieve Channels |
YouTube · Retrieve a user's playlists
/pull/identities/<identity_token>/youtube/playlists.json
|
Retrieve Playlists |
YouTube · Retrieve a user's playlist videos
/pull/identities/<identity_token>/youtube/playlist/<playlistid>/videos.json
|
Retrieve Playlist Videos |
YouTube · Retrieve a user's channel sections
/pull/identities/<identity_token>/youtube/channel/sections.json
|
Retrieve Channel Sections |
Workflow
Request: the code to send to the API
Send an API request to this endpoint in order to retrieve the followings of a Twitter user account:
GET
/pull/identities/<identity_token>/twitter/followings.json
The <identity_token>
is obtained whenever one of your users connects using Twitter.
The following URL parameters can optionally be used with this endpoint:
URL Parameter | Description |
---|---|
num_followingsinteger
|
Indicates how many followings should be included in the resultset. The valid range is between 1 an 200. Default: 50 |
user_idstring
|
If specified, only the followings of the specified user ID are returned. |
usernamestring
|
If specified, only the followings that are part of the specified username are returned. |
cursorstring
|
Cursor used to navigate into paginated results. Example: 12893764510938 |
Result: the code returned by the API
Response Example
{ "response": { "request": { "date": "Fri, 26 Feb 2020 16:40:36 +0200", "resource": "/pull/identities/9b49bebd-6daf-4ab9-ac89-bf350120e914/twitter/followings.json", "status": { "flag": "success", "code": 200, "info": "Your request has been processed successfully" } }, "result": { "data": { "count": 2, "next_cursor" : "1659612229211277540", "previous_cursor" : 0, "total_count" : 0, "entries": [ { "id" : "403470518" "name" : "OneAll" "username" : "@oneall" "location" : "Europe" "description" : "Official OneAll Twitter account. Thousands of companies and end-users use our tools and services to integrate 35+ social networks into their websites." "tweets_count" : "156" "followings_count" : "5063" "friends_count" : "50" "listed_count" : "73" "favourites_count" : "14" "image" : "http://pbs.twimg.com/profile_images/1619195437/oneall_twitter_normal.png" "date" : "Wed, 02 Nov 2011 16:01:48 +0100" "url" : "https://twitter.com/oneall" }, { "id" : "403415470518" "name" : "OneAllTest" "username" : "@onealltest" "location" : "Europe" "description" : "Test OneAll Twitter account. Thousands of companies and end-users use our tools and services to integrate 35+ social networks into their websites." "tweets_count" : "2" "followings_count" : "4" "friends_count" : "3" "listed_count" : "0" "favourites_count" : "6" "image" : "http://pbs.twimg.com/profile_images/1619195437/oneall_twitter_normal.png" "date" : "Wed, 02 Nov 2016 16:01:48 +0100" "url" : "https://twitter.com/onealltest" } ] } } } }