Skip to content

Instantly share code, notes, and snippets.

@Mukesh1412
Last active March 27, 2019 12:26
Show Gist options
  • Select an option

  • Save Mukesh1412/b2ec5891365d80bb982f0dfcb724c1b4 to your computer and use it in GitHub Desktop.

Select an option

Save Mukesh1412/b2ec5891365d80bb982f0dfcb724c1b4 to your computer and use it in GitHub Desktop.
Twitter request and response for new round
#logic
step 1:
check whether the given screen_name is follower of authenticated user or not
step 2:
if he is a follower of authenticated user then make request to https://api.twitter.com/1.1/friendships/create.json to follow
otherwise skip the request to follow
#request
URL:https://api.twitter.com/1.1/friendships/create.json
screen_name:twitterdev
follow: true/false (if true enable notifications for the target user.)
#response
{
"id": 2244994945,
"id_str": "2244994945",
"name": "Twitter Dev",
"screen_name": "TwitterDev",
"location": "Internet",
"description": "Your official source for Twitter Platform news, updates & events. Need technical help? Visit https://t.co/mGHnxZU8c1 ⌨️ #TapIntoTwitter",
"url": "https://t.co/FGl7VOULyL",
"entities": {
"url": {
"urls": [
{
"url": "https://t.co/FGl7VOULyL",
"expanded_url": "https://developer.twitter.com/",
"display_url": "developer.twitter.com",
"indices": [
0,
23
]
}
]
},
"description": {
"urls": [
{
"url": "https://t.co/mGHnxZU8c1",
"expanded_url": "https://twittercommunity.com/",
"display_url": "twittercommunity.com",
"indices": [
93,
116
]
}
]
}
},
"protected": false,
"followers_count": 504393,
"friends_count": 1472,
"listed_count": 1495,
"created_at": "Sat Dec 14 04:35:55 +0000 2013",
"favourites_count": 2182,
"utc_offset": null,
"time_zone": null,
"geo_enabled": true,
"verified": true,
"statuses_count": 3381,
"lang": "en",
"status": {
"created_at": "Mon Mar 25 23:17:54 +0000 2019",
"id": 1110319928639262720,
"id_str": "1110319928639262720",
"text": "RT @AdsAPI: Conversation Targeting 🎯With over ten thousand targetable and dynamic conversations, advertisers can reach people participating…",
"truncated": false,
"entities": {
"hashtags": [],
"symbols": [],
"user_mentions": [
{
"screen_name": "AdsAPI",
"name": "Twitter Ads API",
"id": 1225933934,
"id_str": "1225933934",
"indices": [
3,
10
]
}
],
"urls": []
},
"source": "<a href=\"http://twitter.com\" rel=\"nofollow\">Twitter Web Client</a>",
"in_reply_to_status_id": null,
"in_reply_to_status_id_str": null,
"in_reply_to_user_id": null,
"in_reply_to_user_id_str": null,
"in_reply_to_screen_name": null,
"geo": null,
"coordinates": null,
"place": null,
"contributors": null,
"retweeted_status": {
"created_at": "Mon Mar 25 20:10:19 +0000 2019",
"id": 1110272721005367296,
"id_str": "1110272721005367296",
"text": "Conversation Targeting 🎯With over ten thousand targetable and dynamic conversations, advertisers can reach people p… https://t.co/Za7RVYWnC7",
"truncated": true,
"entities": {
"hashtags": [],
"symbols": [],
"user_mentions": [],
"urls": [
{
"url": "https://t.co/Za7RVYWnC7",
"expanded_url": "https://twitter.com/i/web/status/1110272721005367296",
"display_url": "twitter.com/i/web/status/1…",
"indices": [
117,
140
]
}
]
},
"source": "<a href=\"https://ads-api.twitter.com\" rel=\"nofollow\">Twitter Ads Composer</a>",
"in_reply_to_status_id": null,
"in_reply_to_status_id_str": null,
"in_reply_to_user_id": null,
"in_reply_to_user_id_str": null,
"in_reply_to_screen_name": null,
"geo": null,
"coordinates": null,
"place": null,
"contributors": null,
"is_quote_status": false,
"retweet_count": 12,
"favorite_count": 22,
"favorited": false,
"retweeted": false,
"lang": "en"
},
"is_quote_status": false,
"retweet_count": 12,
"favorite_count": 0,
"favorited": false,
"retweeted": false,
"lang": "en"
},
"contributors_enabled": false,
"is_translator": false,
"is_translation_enabled": false,
"profile_background_color": "FFFFFF",
"profile_background_image_url": "http://abs.twimg.com/images/themes/theme1/bg.png",
"profile_background_image_url_https": "https://abs.twimg.com/images/themes/theme1/bg.png",
"profile_background_tile": false,
"profile_image_url": "http://pbs.twimg.com/profile_images/880136122604507136/xHrnqf1T_normal.jpg",
"profile_image_url_https": "https://pbs.twimg.com/profile_images/880136122604507136/xHrnqf1T_normal.jpg",
"profile_banner_url": "https://pbs.twimg.com/profile_banners/2244994945/1498675817",
"profile_link_color": "0084B4",
"profile_sidebar_border_color": "FFFFFF",
"profile_sidebar_fill_color": "DDEEF6",
"profile_text_color": "333333",
"profile_use_background_image": false,
"has_extended_profile": true,
"default_profile": false,
"default_profile_image": false,
"following": true,
"follow_request_sent": false,
"notifications": false,
"muting": false,
"translator_type": "regular"
}
#logic
Response is in descending order of created time of tweet and tweet ID
First I make a request to https://api.twitter.com/1.1/statuses/home_timeline.json with count=1 in InitialPollRequest
It will give response with latest tweet in my feed
I will store that tweet id in pollData as since_id
In pollrequest I will make a request with since_id with count=100
We will get a response with array of tweets whose ID is greater than since_id.
#request
URL:https://api.twitter.com/1.1/statuses/home_timeline.json
count:100
since_id:240558470661799935
#pollData
{
since_id:240558470661799935
}
#response
[{
"coordinates": null,
"truncated": false,
"created_at": "Tue Aug 28 21:16:23 +0000 2012",
"favorited": false,
"id_str": "240558470661799936",
"in_reply_to_user_id_str": null,
"entities": {
"urls": [
],
"hashtags": [
],
"user_mentions": [
]
},
"text": "just another test",
"contributors": null,
"id": 240558470661799936,
"retweet_count": 0,
"in_reply_to_status_id_str": null,
"geo": null,
"retweeted": false,
"in_reply_to_user_id": null,
"place": null,
"source": "OAuth Dancer Reborn",
"user": {
"name": "OAuth Dancer",
"profile_sidebar_fill_color": "DDEEF6",
"profile_background_tile": true,
"profile_sidebar_border_color": "C0DEED",
"profile_image_url": "http://a0.twimg.com/profile_images/730275945/oauth-dancer_normal.jpg",
"created_at": "Wed Mar 03 19:37:35 +0000 2010",
"location": "San Francisco, CA",
"follow_request_sent": false,
"id_str": "119476949",
"is_translator": false,
"profile_link_color": "0084B4",
"entities": {
"url": {
"urls": [
{
"expanded_url": null,
"url": "http://bit.ly/oauth-dancer",
"indices": [
0,
26
],
"display_url": null
}
]
},
"description": null
},
"default_profile": false,
"url": "http://bit.ly/oauth-dancer",
"contributors_enabled": false,
"favourites_count": 7,
"utc_offset": null,
"profile_image_url_https": "https://si0.twimg.com/profile_images/730275945/oauth-dancer_normal.jpg",
"id": 119476949,
"listed_count": 1,
"profile_use_background_image": true,
"profile_text_color": "333333",
"followers_count": 28,
"lang": "en",
"protected": false,
"geo_enabled": true,
"notifications": false,
"description": "",
"profile_background_color": "C0DEED",
"verified": false,
"time_zone": null,
"profile_background_image_url_https": "https://si0.twimg.com/profile_background_images/80151733/oauth-dance.png",
"statuses_count": 166,
"profile_background_image_url": "http://a0.twimg.com/profile_background_images/80151733/oauth-dance.png",
"default_profile_image": false,
"friends_count": 14,
"following": false,
"show_all_inline_media": false,
"screen_name": "oauth_dancer"
},
"in_reply_to_screen_name": null,
"in_reply_to_status_id": null
}]
#logic
Response is in descending order of created time of tweet and tweet ID
I make a DVSR to https://api.twitter.com/1.1/lists/list.json to get all the lists of the user after user has to select the list to fetch tweets
I make a request to https://api.twitter.com/1.1/lists/statuses.json with list_id = selected list_id and count=1 in InitialPollRequest
It will give response with latest tweet in my list
I will store that tweet id in pollData as since_id
In pollrequest I will make a request with since_id , count=100 and list_id
We will get a response with array of tweets whose ID is greater than since_id in selected list.
#request
URL: https://api.twitter.com/1.1/lists/statuses.json?slug=teams&owner_screen_name=MLS&count=1,
count:100,
list_id:1103566057392885761
since_id:245160944223793151
#pollData
{
since_id:245160944223793151
}
#response
[{
"coordinates": null,
"created_at": "Mon Sep 10 14:04:58 +0000 2012",
"truncated": false,
"favorited": false,
"id_str": "245160944223793152",
"in_reply_to_user_id_str": null,
"entities": {
"urls": [
{
"expanded_url": "http://bit.ly/MuCCDo",
"url": "http://t.co/W2tON3OK",
"indices": [
41,
61
],
"display_url": "bit.ly/MuCCDo"
}
],
"hashtags": [
{
"text": "TorontoFC",
"indices": [
87,
97
]
},
{
"text": "MLS",
"indices": [
98,
102
]
}
],
"user_mentions": [
{
"name": "Team Up Foundation",
"id_str": "210844741",
"id": 210844741,
"indices": [
76,
86
],
"screen_name": "TeamUpFdn"
}
]
},
"text": "Create your own TFC ESQ by Movado Watch: http://t.co/W2tON3OK in support of @TeamUpFdn #TorontoFC #MLS",
"contributors": null,
"id": 245160944223793152,
"retweet_count": 0,
"in_reply_to_status_id_str": null,
"geo": null,
"retweeted": false,
"possibly_sensitive": false,
"in_reply_to_user_id": null,
"in_reply_to_screen_name": null,
"source": "TweetDeck",
"user": {
"profile_sidebar_fill_color": "EB1D31",
"profile_background_tile": false,
"profile_sidebar_border_color": "FFFFFF",
"name": "Toronto FC",
"profile_image_url": "http://a0.twimg.com/profile_images/1827235104/TorontoFC1_normal.jpg",
"created_at": "Fri Sep 11 15:42:26 +0000 2009",
"location": "Toronto, ON",
"follow_request_sent": false,
"is_translator": false,
"id_str": "73412535",
"profile_link_color": "000000",
"entities": {
"url": {
"urls": [
{
"expanded_url": null,
"url": "http://www.torontofc.ca",
"indices": [
0,
23
],
"display_url": null
}
]
},
"description": {
"urls": [
]
}
},
"favourites_count": 2,
"url": "http://www.torontofc.ca",
"default_profile": false,
"contributors_enabled": false,
"profile_image_url_https": "https://si0.twimg.com/profile_images/1827235104/TorontoFC1_normal.jpg",
"utc_offset": -18000,
"id": 73412535,
"listed_count": 1078,
"profile_use_background_image": true,
"followers_count": 28281,
"protected": false,
"profile_text_color": "000000",
"lang": "en",
"profile_background_color": "BC1228",
"verified": true,
"time_zone": "Eastern Time (US & Canada)",
"profile_background_image_url_https": "https://si0.twimg.com/profile_background_images/603424485/k9py0fm18qrjr8l22qlp.jpeg",
"notifications": false,
"description": "Official Toronto FC Twitter by @AsifinToronto & @JonSinden. Follow us for the latest club news, links, pics & videos. Join us during matches for #TFClive",
"geo_enabled": false,
"default_profile_image": false,
"friends_count": 13947,
"profile_background_image_url": "http://a0.twimg.com/profile_background_images/603424485/k9py0fm18qrjr8l22qlp.jpeg",
"statuses_count": 10774,
"screen_name": "torontofc",
"following": true,
"show_all_inline_media": false
},
"place": null,
"in_reply_to_status_id": null
}
]
#logic
Response is in descending order of created time of tweet and tweet ID
First I make a request to https://api.twitter.com/1.1/statuses/retweets_of_me.json with count=1 in InitialPollRequest
It will give response with latest retweet
I will store that tweet id in pollData as since_id
In pollrequest I will make a request with since_id , count=100
We will get a response with array of tweets whose ID is greater than since_id
#request
URL: https://api.twitter.com/1.1/statuses/retweets_of_me.json
count:100
since_id:259320959964680191
#pollData
{
since_id:259320959964680191
}
#response
[
{
"coordinates": null,
"truncated": false,
"favorited": false,
"created_at": "Fri Oct 19 15:51:49 +0000 2012",
"id_str": "259320959964680192",
"entities": {
"urls": [
],
"hashtags": [
],
"user_mentions": [
]
},
"in_reply_to_user_id_str": null,
"contributors": null,
"text": "It's bring your migraine to work day today!",
"in_reply_to_status_id_str": null,
"id": 259320959964680192,
"retweet_count": 1,
"geo": null,
"retweeted": false,
"in_reply_to_user_id": null,
"source": "YoruFukurou",
"user": {
"name": "Taylor Singletary",
"profile_sidebar_fill_color": "FBFBFB",
"profile_background_tile": false,
"profile_sidebar_border_color": "000000",
"location": "San Francisco, CA",
"profile_image_url": "http://a0.twimg.com/profile_images/2766969649/5e1a50995a9f9bfcdcdc7503e1271422_normal.jpeg",
"created_at": "Wed Mar 07 22:23:19 +0000 2007",
"profile_link_color": "CC1442",
"is_translator": false,
"id_str": "819797",
"follow_request_sent": false,
"entities": {
"url": {
"urls": [
{
"expanded_url": "http://soundcloud.com/reality-technician",
"url": "http://t.co/bKlJ80Do",
"indices": [
0,
20
],
"display_url": "soundcloud.com/reality-techni…"
}
]
},
"description": {
"urls": [
]
}
},
"favourites_count": 17094,
"url": "http://t.co/bKlJ80Do",
"contributors_enabled": false,
"default_profile": false,
"profile_image_url_https": "https://si0.twimg.com/profile_images/2766969649/5e1a50995a9f9bfcdcdc7503e1271422_normal.jpeg",
"profile_banner_url": "https://si0.twimg.com/profile_banners/819797/1351262715",
"utc_offset": -28800,
"id": 819797,
"profile_use_background_image": false,
"listed_count": 351,
"followers_count": 7701,
"profile_text_color": "D20909",
"protected": false,
"lang": "en",
"geo_enabled": true,
"time_zone": "Pacific Time (US & Canada)",
"notifications": false,
"profile_background_color": "6B0F0F",
"description": "Reality Technician, Twitter API team, synth enthusiast. A most excellent adventure in timelines. Through the darkness of future past, the magician longs to see.",
"verified": false,
"profile_background_image_url_https": "https://si0.twimg.com/profile_background_images/686878932/6447abb9f83c76fb4fbd68e626c6c8c1.png",
"friends_count": 5549,
"default_profile_image": false,
"profile_background_image_url": "http://a0.twimg.com/profile_background_images/686878932/6447abb9f83c76fb4fbd68e626c6c8c1.png",
"statuses_count": 18626,
"screen_name": "episod",
"following": false
},
"place": null,
"in_reply_to_screen_name": null,
"in_reply_to_status_id": null
}
]
#request
URL: https://api.twitter.com/1.1/search/tweets.json
q: elections
geocode: 37.781157, -122.398720 ,1mi/km
#pollData
{
since_id:12345
}
#response
{
"statuses": [
{
"created_at": "Sun Feb 25 18:11:01 +0000 2018",
"id": 967824267948773377,
"id_str": "967824267948773377",
"text": "From pilot to astronaut, Robert H. Lawrence was the first African-American to be selected as an astronaut by any na… https://t.co/FjPEWnh804",
"truncated": true,
"entities": {
"hashtags": [],
"symbols": [],
"user_mentions": [],
"urls": [
{
"url": "https://t.co/FjPEWnh804",
"expanded_url": "https://twitter.com/i/web/status/967824267948773377",
"display_url": "twitter.com/i/web/status/9…",
"indices": [
117,
140
]
}
]
},
"metadata": {
"result_type": "popular",
"iso_language_code": "en"
},
"source": "<a href='"https://www.sprinklr.com"' rel='"nofollow"'>Sprinklr</a>",
"in_reply_to_status_id": null,
"in_reply_to_status_id_str": null,
"in_reply_to_user_id": null,
"in_reply_to_user_id_str": null,
"in_reply_to_screen_name": null,
"user": {
"id": 11348282,
"id_str": "11348282",
"name": "NASA",
"screen_name": "NASA",
"location": "",
"description": "Explore the universe and discover our home planet with @NASA. We usually post in EST (UTC-5)",
"url": "https://t.co/TcEE6NS8nD",
"entities": {
"url": {
"urls": [
{
"url": "https://t.co/TcEE6NS8nD",
"expanded_url": "http://www.nasa.gov",
"display_url": "nasa.gov",
"indices": [
0,
23
]
}
]
},
"description": {
"urls": []
}
},
"protected": false,
"followers_count": 28605561,
"friends_count": 270,
"listed_count": 90405,
"created_at": "Wed Dec 19 20:20:32 +0000 2007",
"favourites_count": 2960,
"utc_offset": -18000,
"time_zone": "Eastern Time (US & Canada)",
"geo_enabled": false,
"verified": true,
"statuses_count": 50713,
"lang": "en",
"contributors_enabled": false,
"is_translator": false,
"is_translation_enabled": false,
"profile_background_color": "000000",
"profile_background_image_url": "http://pbs.twimg.com/profile_background_images/590922434682880000/3byPYvqe.jpg",
"profile_background_image_url_https": "https://pbs.twimg.com/profile_background_images/590922434682880000/3byPYvqe.jpg",
"profile_background_tile": false,
"profile_image_url": "http://pbs.twimg.com/profile_images/188302352/nasalogo_twitter_normal.jpg",
"profile_image_url_https": "https://pbs.twimg.com/profile_images/188302352/nasalogo_twitter_normal.jpg",
"profile_banner_url": "https://pbs.twimg.com/profile_banners/11348282/1518798395",
"profile_link_color": "205BA7",
"profile_sidebar_border_color": "000000",
"profile_sidebar_fill_color": "F3F2F2",
"profile_text_color": "000000",
"profile_use_background_image": true,
"has_extended_profile": true,
"default_profile": false,
"default_profile_image": false,
"following": null,
"follow_request_sent": null,
"notifications": null,
"translator_type": "regular"
},
"geo": null,
"coordinates": null,
"place": null,
"contributors": null,
"is_quote_status": false,
"retweet_count": 988,
"favorite_count": 3875,
"favorited": false,
"retweeted": false,
"possibly_sensitive": false,
"lang": "en"
}
]
}
#request
URL: https://api.twitter.com/1.1/search/tweets.json
q: elections
geocode: 37.781157, -122.398720 ,1mi/km
lang:eu
locale:ja
result_type: mixed/recent/popular
count:10
until:2015-07-19 (not older than a week)
since_id:12345
max_id:54321
include_entities:false
#response
{
"statuses": [
{
"created_at": "Sun Feb 25 18:11:01 +0000 2018",
"id": 967824267948773377,
"id_str": "967824267948773377",
"text": "From pilot to astronaut, Robert H. Lawrence was the first African-American to be selected as an astronaut by any na… https://t.co/FjPEWnh804",
"truncated": true,
"entities": {
"hashtags": [],
"symbols": [],
"user_mentions": [],
"urls": [
{
"url": "https://t.co/FjPEWnh804",
"expanded_url": "https://twitter.com/i/web/status/967824267948773377",
"display_url": "twitter.com/i/web/status/9…",
"indices": [
117,
140
]
}
]
},
"metadata": {
"result_type": "popular",
"iso_language_code": "en"
},
"source": "<a href='"https://www.sprinklr.com"' rel='"nofollow"'>Sprinklr</a>",
"in_reply_to_status_id": null,
"in_reply_to_status_id_str": null,
"in_reply_to_user_id": null,
"in_reply_to_user_id_str": null,
"in_reply_to_screen_name": null,
"user": {
"id": 11348282,
"id_str": "11348282",
"name": "NASA",
"screen_name": "NASA",
"location": "",
"description": "Explore the universe and discover our home planet with @NASA. We usually post in EST (UTC-5)",
"url": "https://t.co/TcEE6NS8nD",
"entities": {
"url": {
"urls": [
{
"url": "https://t.co/TcEE6NS8nD",
"expanded_url": "http://www.nasa.gov",
"display_url": "nasa.gov",
"indices": [
0,
23
]
}
]
},
"description": {
"urls": []
}
},
"protected": false,
"followers_count": 28605561,
"friends_count": 270,
"listed_count": 90405,
"created_at": "Wed Dec 19 20:20:32 +0000 2007",
"favourites_count": 2960,
"utc_offset": -18000,
"time_zone": "Eastern Time (US & Canada)",
"geo_enabled": false,
"verified": true,
"statuses_count": 50713,
"lang": "en",
"contributors_enabled": false,
"is_translator": false,
"is_translation_enabled": false,
"profile_background_color": "000000",
"profile_background_image_url": "http://pbs.twimg.com/profile_background_images/590922434682880000/3byPYvqe.jpg",
"profile_background_image_url_https": "https://pbs.twimg.com/profile_background_images/590922434682880000/3byPYvqe.jpg",
"profile_background_tile": false,
"profile_image_url": "http://pbs.twimg.com/profile_images/188302352/nasalogo_twitter_normal.jpg",
"profile_image_url_https": "https://pbs.twimg.com/profile_images/188302352/nasalogo_twitter_normal.jpg",
"profile_banner_url": "https://pbs.twimg.com/profile_banners/11348282/1518798395",
"profile_link_color": "205BA7",
"profile_sidebar_border_color": "000000",
"profile_sidebar_fill_color": "F3F2F2",
"profile_text_color": "000000",
"profile_use_background_image": true,
"has_extended_profile": true,
"default_profile": false,
"default_profile_image": false,
"following": null,
"follow_request_sent": null,
"notifications": null,
"translator_type": "regular"
},
"geo": null,
"coordinates": null,
"place": null,
"contributors": null,
"is_quote_status": false,
"retweet_count": 988,
"favorite_count": 3875,
"favorited": false,
"retweeted": false,
"possibly_sensitive": false,
"lang": "en"
}
]
}
#logic
Response is in descending order of created time of tweet and tweet ID
First I make a request to https://api.twitter.com/1.1/favorites/list.json with count=1 in InitialPollRequest
It will give response with latest tweet liked
I will store that tweet id in pollData as since_id
In pollrequest I will make a request with since_id with count=100
We will get a response with array of tweets liked whose ID is greater than since_id.
#request
URL:https://api.twitter.com/1.1/favorites/list.json
count :100
since_id:243014525132091391
#pollData
{
since_id:243014525132091391
}
#response
[
{
"coordinates": null,
"truncated": false,
"favorited": true,
"created_at": "Tue Sep 04 15:55:52 +0000 2012",
"id_str": "243014525132091393",
"in_reply_to_user_id_str": null,
"entities": {
"urls": [
],
"hashtags": [
],
"user_mentions": [
]
},
"text": "Note to self: don't die during off-peak hours on a holiday weekend.",
"contributors": null,
"id": 243014525132091393,
"retweet_count": 0,
"in_reply_to_status_id_str": null,
"geo": null,
"retweeted": false,
"in_reply_to_user_id": null,
"in_reply_to_screen_name": null,
"source": "web",
"user": {
"profile_sidebar_fill_color": "252429",
"profile_background_tile": true,
"profile_sidebar_border_color": "181A1E",
"name": "Sean Cook",
"profile_image_url": "http://a0.twimg.com/profile_images/1751506047/dead_sexy_normal.JPG",
"location": "San Francisco",
"created_at": "Sat May 09 17:58:22 +0000 2009",
"follow_request_sent": false,
"is_translator": false,
"id_str": "38895958",
"profile_link_color": "2FC2EF",
"entities": {
"description": {
"urls": [
]
}
},
"favourites_count": 594,
"url": null,
"default_profile": false,
"contributors_enabled": true,
"profile_image_url_https": "https://si0.twimg.com/profile_images/1751506047/dead_sexy_normal.JPG",
"utc_offset": -28800,
"id": 38895958,
"listed_count": 191,
"profile_use_background_image": true,
"followers_count": 10659,
"protected": false,
"profile_text_color": "666666",
"lang": "en",
"profile_background_color": "1A1B1F",
"time_zone": "Pacific Time (US & Canada)",
"verified": false,
"profile_background_image_url_https": "https://si0.twimg.com/profile_background_images/495742332/purty_wood.png",
"description": "I taught your phone that thing you like. The Mobile Partner Engineer @Twitter. ",
"geo_enabled": true,
"notifications": false,
"default_profile_image": false,
"friends_count": 1186,
"profile_background_image_url": "http://a0.twimg.com/profile_background_images/495742332/purty_wood.png",
"statuses_count": 2629,
"following": true,
"screen_name": "theSeanCook",
"show_all_inline_media": true
},
"place": {
"name": "San Francisco",
"country_code": "US",
"country": "United States",
"attributes": {
},
"url": "http://api.twitter.com/1/geo/id/5a110d312052166f.json",
"id": "5a110d312052166f",
"bounding_box": {
"coordinates": [
[
[
-122.51368188,
37.70813196
],
[
-122.35845384,
37.70813196
],
[
-122.35845384,
37.83245301
],
[
-122.51368188,
37.83245301
]
]
],
"type": "Polygon"
},
"full_name": "San Francisco, CA",
"place_type": "city"
},
"in_reply_to_status_id": null
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment