2012-02-16 9 views

答えて

0

fqlを使用して、current_locationを問い合わせることができます。このwoulldは次のような形に戻ります:

 

{ 
    "data": [ 
    { 
     "current_location": { 
     "resultType": { 
      "fieldTypes": { 
      "street": { 
       "strict": false 
      }, 
      "city": { 
       "strict": false 
      }, 
      "state": { 
       "strict": false 
      }, 
      "country": { 
       "strict": false 
      }, 
      "zip": { 
       "strict": false 
      }, 
      "latitude": { 
       "min": null, 
       "max": null, 
       "strict": false 
      }, 
      "longitude": { 
       "min": null, 
       "max": null, 
       "strict": false 
      }, 
      "id": { 
       "min": null, 
       "max": null, 
       "strict": false 
      }, 
      "name": { 
       "strict": false 
      } 
      }, 
      "includeNullFields": false 
     }, 
     "street": null, 
     "city": "Beirut", 
     "state": "Beyrouth", 
     "country": "Lebanon", 
     "zip": "", 
     "latitude": null, 
     "longitude": null, 
     "id": 106188806084417, 
     "name": "Beirut, Lebanon" 
     } 
    } 
    ] 
} 
 

あなたはそのような意味ですか? 希望します。

+0

これは現在の都市を返しますが、通りは含みません。 –

関連する問題