2012-07-13 62 views
1

我正在從我的Android手機發送一條推文到@JoeMaxiTaxis。麻煩的是,座標根本不顯示。爲什麼我的地理座標總是錯誤?

我再次檢查GPS是否已啓用,並在Twitter應用上啓用了該位置。

這是我得到的服務器上的響應:

{ 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: [] } } 

任何人都可以提供任何見解?

+0

計算出來......你在撰寫推文時必須按下GPS引腳...... Doh! – Eamorr 2012-07-13 23:39:38

回答

0

您的HTTP請求是否獲取包含您的GPS座標(經度和緯度)的longlat參數?無論您的應用如何使用GPS,如果Twitter既沒有long也沒有lat參數,並且您沒有「啓用地理位置」,Twitter將無法將您的位置與其他書面推文一起返回給您。

相關問題