Created
April 29, 2011 17:09
-
-
Save penguinco/948635 to your computer and use it in GitHub Desktop.
yats japanese user_ids api
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
You can get twitter user_ids who speak japanese. | |
MySQL dump file:deprecated. | |
JSON interface: | |
Query: | |
http://yats-data.com/yats/user_ids?id_autoinc=1260000&page=1 | |
Params: | |
page: 1 <= page <= 100 (not required) | |
id_autoinc: For incremental case (not required) | |
If you record your last id_autoinc and call API with it, you can increment your database. | |
Response: | |
[].size => 0-1000 | |
[ | |
-{ | |
updated: "2011-04-29 17:19:52" #GMT+9 | |
id_autoinc: 1260001 #auto_incremented id by yats. not twitter id. | |
since_id: 63745107521847300 #user's newest tweet_id(as far as yats knows) | |
internal_id: 136489108 #user's twitter id | |
} | |
-{ | |
updated: "2011-04-29 23:44:18" | |
id_autoinc: 1260002 | |
since_id: 63783290028556290 | |
internal_id: 254032940 | |
} | |
] | |
Note: | |
Sometimes yats delete user who did not tweet last few weeks or switch to protected mode. | |
-Because of this, sometimes id_autoinc looks like skipped. | |
-Because of this, sometimes internal_id respawn with another(new) id_autoinc. | |
Yats add user who... | |
-enough tweets.(at least 400tweets) | |
-tweet in last few weeks. | |
-speaks japanese. | |
-not protected. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment