我需要使用Tweeter API搜索用户帐户。 The best API is in this link。
Api示例如下:
https://api.twitter.com/1.1/users/search.json?q=soccer
其中q
是查询。在示例中,它选择在其[[个人资料的名称中带有单词“ soccer
”的用户。
q
?]verified
)status.lang
)followers_count
大于10,000(属性followers_count
)https://api.twitter.com/1.1/users/search.json?q=fake&verified=true&followers_count>10000&status.lang=de
但是,它不起作用点:
[
{
"id": 149450476,
"id_str": "149450476",
"name": "Nathan Fake",
"screen_name": "nathanfake",
"location": "UK",
"description": "Official Nathan Fake Twitter.\nLIVE/DJ BOOKINGS:\nWorld excl. Americas: Mia Perelmuter - [email protected]\nAmericas: Andres Montes - [email protected]",
"url": "Some url",
"entities": {
"url": {
"urls": [
{
"url": "Some url",
"expanded_url": "http://nathanfake.com",
"display_url": "nathanfake.com",
"indices": [
0,
23
]
}
]
},
"description": {
"urls": []
}
},
"protected": false,
"followers_count": 19819,
"friends_count": 641,
"listed_count": 354,
"created_at": "Sat May 29 09:27:07 +0000 2010",
"favourites_count": 3619,
"utc_offset": null,
"time_zone": null,
"geo_enabled": true,
"verified": true,
"statuses_count": 5006,
"lang": null,
"status": {
"created_at": "Tue May 19 09:09:41 +0000 2020",
"id": 1262671759951695874,
"id_str": "1262671759951695874",
"text": "@DasGiftBerlin they're a delicacy in galicia and portugal.. I wasn't that into it though",
"truncated": false,
"entities": {
"hashtags": [],
"symbols": [],
"user_mentions": [
{
"screen_name": "DasGiftBerlin",
"name": "DasGift",
"id": 514663060,
"id_str": "514663060",
"indices": [
0,
14
]
}
],
"urls": []
},
"source": "<a href=\"http://twitter.com/download/android\" rel=\"nofollow\">Twitter for Android</a>",
"in_reply_to_status_id": 1262664168857092096,
"in_reply_to_status_id_str": "1262664168857092096",
"in_reply_to_user_id": 514663060,
"in_reply_to_user_id_str": "514663060",
"in_reply_to_screen_name": "DasGiftBerlin",
"geo": null,
"coordinates": null,
"place": null,
"contributors": null,
"is_quote_status": false,
"retweet_count": 0,
"favorite_count": 0,
"favorited": false,
"retweeted": false,
"lang": "en"
},
"contributors_enabled": false,
"is_translator": false,
"is_translation_enabled": false,
"profile_background_color": "C0DEED",
"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": true,
"profile_image_url": "http://pbs.twimg.com/profile_images/1239999310181302276/qE-m2d2n_normal.jpg",
"profile_image_url_https": "https://pbs.twimg.com/profile_images/1239999310181302276/qE-m2d2n_normal.jpg",
"profile_banner_url": "https://pbs.twimg.com/profile_banners/149450476/1584473432",
"profile_link_color": "4A913C",
"profile_sidebar_border_color": "FFFFFF",
"profile_sidebar_fill_color": "DDEEF6",
"profile_text_color": "333333",
"profile_use_background_image": true,
"has_extended_profile": false,
"default_profile": false,
"default_profile_image": false,
"following": false,
"follow_request_sent": false,
"notifications": false,
"translator_type": "none"
}
]
follower_count
大于10000的用户对象。此定制处理将由您以某种编程语言来完成。 Twitter API不提供执行此类复杂查询的现成方法。