Nationality, age and geolocation on twitter

Feb 7, 2013 at 6:11 AM
Hello. There is any metod to know Nationality, Age and gender of the users on twitter with nodexl?
And any metod to know or export for geolocation purposes?
Coordinator
Feb 7, 2013 at 3:51 PM
Edited Feb 7, 2013 at 3:53 PM
Nationality, age, gender: NodeXL doesn't provide this information, and I don't believe Twitter makes it available. In my next post, I'll show you what Twitter does make available. It's in a compressed format meant for computer programs to pick apart, but you can still get a good idea of what information Twitter provides.

Geolocation information: NodeXL provides a "Location" for a Twitter user (sample: "San Francisco, CA") if the Twitter user has specified one. It also provides a "Latititude" and "Longitude" for individual tweets when you tell NodeXL to include tweet information. In my own tests, however, Twitter doesn't have the latitude and longitude for most tweets, so these are usually empty.

-- Tony
Coordinator
Feb 7, 2013 at 3:52 PM
From https://dev.twitter.com/docs/api/1.1/get/users/lookup :

{
"name": "Twitter API",

"profile_sidebar_fill_color": "DDEEF6",

"profile_background_tile": false,

"profile_sidebar_border_color": "C0DEED",

"profile_image_url": "http://a0.twimg.com/profile_images/2284174872/7df3h38zabcvjylnyfe3_normal.png",

"location": "San Francisco, CA",

"created_at": "Wed May 23 06:01:13 +0000 2007",

"follow_request_sent": false,

"id_str": "6253282",

"profile_link_color": "0084B4",

"is_translator": false,

"default_profile": true,

"favourites_count": 24,

"contributors_enabled": true,

"url": "http://dev.twitter.com",

"profile_image_url_https": "https://si0.twimg.com/profile_images/2284174872/7df3h38zabcvjylnyfe3_normal.png",

"utc_offset": -28800,

"id": 6253282,

"profile_use_background_image": true,

"listed_count": 10713,

"profile_text_color": "333333",

"lang": "en",

"followers_count": 1198334,

"protected": false,

"profile_background_image_url_https": "https://si0.twimg.com/images/themes/theme1/bg.png",

"geo_enabled": true,

"description": "The Real Twitter API. I tweet about API changes, service issues and happily answer questions about Twitter and our API. Don't get an answer? It's on my website.",

"profile_background_color": "C0DEED",

"verified": true,

"notifications": false,

"time_zone": "Pacific Time (US & Canada)",

"statuses_count": 3331,

"status": {

  "coordinates": null,

  "created_at": "Fri Aug 24 16:15:49 +0000 2012",

  "favorited": false,

  "truncated": false,

  "id_str": "239033279343382529",

  "in_reply_to_user_id_str": "134727529",

  "text": "@gregclermont no, there is not. ^TS",

  "contributors": null,

  "retweet_count": 0,

  "id": 239033279343382529,

  "in_reply_to_status_id_str": "238933943146131456",

  "geo": null,

  "retweeted": false,

  "in_reply_to_user_id": 134727529,

  "place": null,

  "source": "<a href=\"http://sites.google.com/site/yorufukurou/\" rel=\"nofollow\">YoruFukurou</a>",

  "in_reply_to_screen_name": "gregclermont",

  "in_reply_to_status_id": 238933943146131456

},

"profile_background_image_url": "http://a0.twimg.com/images/themes/theme1/bg.png",

"default_profile_image": false,

"friends_count": 31,

"screen_name": "twitterapi",

"following": true,

"show_all_inline_media": false
},