查找flume从twitter下载的推文的位置

vom3gejh  于 2021-06-03  发布在  Flume
关注(0)|答案(1)|浏览(455)

我使用了一些关键字,并使用flume从twitter下载了tweet
{“filter_level”:“medium”,“contributors”:null,“text”:“mesi,ozil,cr7&suarez bertengger di lamborghini t.co/skk8xnnjl7”,“geo”:null,“retweeted”:false,“in回复到屏幕中的名称”:null,“可能敏感”:false,“截断”:false,“lang”:“in”,“entities”:{“symbols”:[],“url”:[{“expanded_url”:“dlvr.it/5xh5vk”,“index”:[56,78],“display\u url”:“dlvr.it/5xh5vk”,“url”:“t.co/skk8xnnjl7”}],“hashtags”:[],“user\u references”:[]},“in\u reply\u to \u status\u id\u str”:null,“id”:461450307856130048,“source”:http://dlvr.it\“rel=\”nofollow\“>dlvr.it”,“in\u reply to \u user id \u str”:null,“favorited”:false,“in\u reply to \u status \u id”:null,“retweet \u count”:0,“created \u at”:“wed apr 30 10:21:41+0000 2014”,“in_reply_to_user_id”:null,“favorite_count”:0,“id_str”:“461450307856130048”,“place”:null,“user”:{“location”:“subscribe us”,“default_profile”:false,“profile_background_tile”:true,“statuses_count”:158496,“lang”:“en”,“profile_link_color”:“006400”,“profile_banner_url”:“pbs.twimg.com/profile_banners/251586988/1368528690”,“id”:251586988,“following”:null,“protected”:false,“favorites\u count”:1,“profile\u text\u color”:“333333”,“description”:“最新新闻和软件。\r\n\r\nakun ini dijual rp150.000”,“verified”:false,“contributors\u enabled”:false,“profile\u sidebar\u border\u color”:“000000”,“name”:“热门新闻”,“profile\u background\u color”:“000000”,“created\u at”:“sun feb 13 12:54:44+0000 2011”,“is_translation_enabled”:false,“default_profile_image”:false,“followers_count”:37879,“profile_image_url_https”:“pbs.twimg.com/profile_images/449966329588482048/rb4aznrv_normal.jpeg”,“geo_enabled”:false,“profile_background_image_url”:“abs.twimg.com/images/themes/theme14/bg.gif”,“profile\u background\u image\u url\u https”:“abs.twimg.com/images/themes/theme14/bg.gif”,“follow\u request\u sent”:null,“url”:“google.com”,“utc\u offset”:25200,“time\u zone”:“曼谷”,“notifications”:null,“profile\u use\u background\u image”:true,“friends\u count”:10,“profile\u sidebar\u fill\u color”:“ddeef6”,“screen\u name”:“7hotnews”,“id\u str”:“251586988”,“配置文件\图像\ url”:http://pbs.twimg.com/profile_images/449966329588482048/rb4aznrv_normal.jpeg“,”listed\u count“:19,”is\u translator“:false},”coordinates“:null}
现在我必须找出tweet的位置,从那里发tweet.also我遇到了一些网站,其中大多数答案是“geo”字段在上面的json格式给出了tweet的位置。但它是空的,我的大多数tweet。拜托,有人能帮我吗…我只是摇了两个星期的头。。。。提前谢谢,雷德

eoigrqb6

eoigrqb61#

有两种类型的位置:地理位置和用户位置。用户位置在大多数情况下都不可靠,因为用户可以键入任何他们想要的内容。地理位置是定位tweet的最佳方式,正如您所看到的,大多数用户都不启用他们的地理位置。你可以使用少数地理位置,你有取决于什么目的。

相关问题