A Alisson Active Member Licensed User Jul 4, 2016 #1 How can receive the response Json of the foursquare? I create the code: B4X: Register.Initialize("location", Me) Register.Download2("https://api.foursquare.com/v2/venues/explore", _ Array As String("ll", "40,74", _ "oauth_token", "Y2E23SEE4564654EEHOIASAOIH4556158184", _ "v", "20160734")) The response json: B4X: Case "location" Dim i As Int ret = Job.GetString parser.Initialize(ret) Dim root As List = parser.NextArray For Each colroot As Map In root Dim index As String = colroot.Get("address") Next I not receive response. Can someone help me. Thanks very much!
How can receive the response Json of the foursquare? I create the code: B4X: Register.Initialize("location", Me) Register.Download2("https://api.foursquare.com/v2/venues/explore", _ Array As String("ll", "40,74", _ "oauth_token", "Y2E23SEE4564654EEHOIASAOIH4556158184", _ "v", "20160734")) The response json: B4X: Case "location" Dim i As Int ret = Job.GetString parser.Initialize(ret) Dim root As List = parser.NextArray For Each colroot As Map In root Dim index As String = colroot.Get("address") Next I not receive response. Can someone help me. Thanks very much!
DonManfred Expert Licensed User Longtime User Jul 5, 2016 #2 this is the result i got B4X: {"meta":{"code":401,"errorType":"invalid_auth","errorDetail":"OAuth token invalid or revoked."},"response":{}} JobDone IS raised... Upvote 0
this is the result i got B4X: {"meta":{"code":401,"errorType":"invalid_auth","errorDetail":"OAuth token invalid or revoked."},"response":{}} JobDone IS raised...
A Alisson Active Member Licensed User Jul 5, 2016 #3 DonManfred, not publish the token id correct. I send to you with message private my token. Upvote 0
A Alisson Active Member Licensed User Jul 12, 2016 #4 DonManfred, thanks very much! I solved the json problem! Upvote 0