Hey guys, im newbie that trying to create apps using Twitter API. I want to retrieve tweets with specific mention and hashtag, so i’m using https://api.twitter.com/1.1/search/tweets.json. Now i have an issue, i want to retrieve geo location from each tweet ( of course when they activated their geo location).
I am converting the JSON format into array format and i found that the data show type of location is polygon and have some coordinates like this :
[bounding_box] => Array
(
[type] => Polygon
[coordinates] => Array
(
[0] => Array
(
[0] => Array
(
[0] => 110.304567
[1] => -7.773728
)
[1] => Array
(
[0] => 110.38574
[1] => -7.773728
)
[2] => Array
(
[0] => 110.38574
[1] => -7.699502
)
[3] => Array
(
[0] => 110.304567
[1] => -7.699502
)
)
)
)
Which should i choose as tweet’s location from them ?