Updated on Mon, 2014-05-19 02:05
Returns the relationships of the authenticating user to the comma-separated list of up to 100 screen_names or user_ids provided. Values for connections can be: following, following_requested, followed_by, none, blocking, muting.
Resource URL
https://api.twitter.com/1.1/friendships/lookup.json
Parameters
screen_name optional
A comma separated list of screen names, up to 100 are allowed in a single request.
Example Values: twitterapi,twitter
user_id optional
A comma separated list of user IDs, up to 100 are allowed in a single request.
Example Values: 783214,6253282
Example Request
GET | |
[
{
"name": "Taylor Singletary",
"screen_name": "episod",
"id": 819797,
"id_str": "819797",
"connections": [
"following",
"followed_by"
]
},
{
"name": "Twitter API",
"screen_name": "twitterapi",
"id": 6253282,
"id_str": "6253282",
"connections": [
"following",
"followed_by"
]
},
{
"name": "White Leaf",
"screen_name": "whiteleaf",
"id": 22479443,
"id_str": "22479443",
"connections": [
"followed_by",
"muting"
]
},
{
"name": "Andy Piper",
"screen_name": "andypiper",
"id": 786491,
"id_str": "786491",
"connections": [
"none"
]
}
]