Geolocation 为什么我的地理坐标总是假的?
我正在从我的Android手机向Geolocation 为什么我的地理坐标总是假的?,geolocation,twitter,Geolocation,Twitter,我正在从我的Android手机向@JoeMaxiTaxis发送一条推特。问题是,坐标根本不显示 我在Twitter应用程序上仔细检查了GPS是否启用,位置是否启用 以下是我在服务器上得到的响应: { in_reply_to_status_id_str: null, contributors: null, place: null, in_reply_to_screen_name: 'JoeMaxiTaxis', text: '@joemaxitaxis lll', favori
@JoeMaxiTaxis
发送一条推特。问题是,坐标根本不显示
我在Twitter应用程序上仔细检查了GPS是否启用,位置是否启用
以下是我在服务器上得到的响应:
{ in_reply_to_status_id_str: null,
contributors: null,
place: null,
in_reply_to_screen_name: 'JoeMaxiTaxis',
text: '@joemaxitaxis lll',
favorited: false,
in_reply_to_user_id_str: '634579476',
coordinates: null,
geo: null,
retweet_count: 0,
created_at: 'Fri Jul 13 22:13:01 +0000 2012',
source: '<a href="http://twitter.com/download/android" rel="nofollow">Twitter for Android</a>',
in_reply_to_user_id: 634579476,
in_reply_to_status_id: null,
retweeted: false,
id_str: '223902880527167488',
truncated: false,
user:
{ favourites_count: 0,
friends_count: 0,
profile_background_color: 'C0DEED',
following: null,
profile_background_tile: false,
profile_background_image_url_https: 'https://si0.twimg.com/images/themes/theme1/bg.png',
followers_count: 0,
profile_image_url: 'http://a0.twimg.com/sticky/default_profile_images/default_profile_0_normal.png',
contributors_enabled: false,
geo_enabled: true,
created_at: 'Wed Jul 07 16:19:53 +0000 2010',
profile_sidebar_fill_color: 'DDEEF6',
description: '',
listed_count: 0,
follow_request_sent: null,
time_zone: 'Dublin',
url: null,
verified: false,
profile_sidebar_border_color: 'C0DEED',
default_profile: true,
show_all_inline_media: false,
is_translator: false,
notifications: null,
profile_use_background_image: true,
protected: false,
profile_image_url_https: 'https://si0.twimg.com/sticky/default_profile_images/default_profile_0_normal.png',
location: 'Dublin, Ireland',
id_str: '163924257',
profile_text_color: '333333',
name: 'Eamonn Hynes',
statuses_count: 6,
profile_background_image_url: 'http://a0.twimg.com/images/themes/theme1/bg.png',
id: 163924257,
default_profile_image: true,
lang: 'en',
utc_offset: 0,
profile_link_color: '0084B4',
screen_name: 'rainbowcabs' },
id: 223902880527167500,
entities: { user_mentions: [ [Object] ], urls: [], hashtags: [] } }
{in_reply_to_status_id_str:null,
贡献者:空,
地点:空,
在屏幕名称“JoeMaxiTaxis”的回复中,
文本:“@joemaxitaxis lll”,
偏爱:错误,
在对用户id的回复中:“634579476”,
坐标:空,
geo:null,
转发次数:0,
创建时间:2012年7月13日星期五22:13:01+0000,
来源:“”,
在对用户id:634579476的回复中,
在对状态的回复中,id为空,
转发:错误,
id_街:“223902880527167488”,
错:,
用户:
{收藏夹计数:0,
好友数:0,
配置文件\u背景\u颜色:“c0dect”,
以下:空,
配置文件\u背景\u平铺:false,
配置文件\u背景\u图像\u url\u https:'https://si0.twimg.com/images/themes/theme1/bg.png',
追随者数量:0,
配置文件\u图像\u url:'http://a0.twimg.com/sticky/default_profile_images/default_profile_0_normal.png',
已启用:false,
geo_enabled:true,
创建于:“Wed Jul 07 16:19:53+0000 2010”,
配置文件\侧栏\填充\颜色:“DDEEF6”,
说明:“”,
列出的计数:0,
跟踪发送的请求:null,
时区:“都柏林”,
url:null,
核实:假,
配置文件\u侧栏\u边框\u颜色:'c0dect',
默认配置文件:true,
显示所有内嵌媒体:false,
译者:错,
通知:空,
配置文件\u使用\u背景\u图像:真,
保护:假,
配置文件\u图像\u url\u https:'https://si0.twimg.com/sticky/default_profile_images/default_profile_0_normal.png',
地点:'爱尔兰都柏林',
id_街:“163924257”,
配置文件\u文本\u颜色:“333333”,
名称:'Eamonn Hynes',
状态计数:6,
配置文件\u背景\u图像\u url:'http://a0.twimg.com/images/themes/theme1/bg.png',
身份证号码:163924257,
默认_profile_image:true,
朗:"嗯",,
utc_偏移量:0,
配置文件链接颜色:“0084B4”,
屏幕名称:'彩虹出租车'},
识别号:223902880527167500,
实体:{user_提到:[[Object]],url:[],hashtags:[]}
任何人都可以提供任何见解吗?您的HTTP请求是否获得包含GPS坐标(经度和纬度)的
long
和lat
参数?无论你的应用程序对GPS做了什么,如果Twitter没有同时获得long
和lat
参数,并且如果你没有“地理位置启用”,Twitter将无法返回你的位置和其他书面推文。解决了这个问题。。。在撰写推文时,您必须按下GPS pin。。。啊!