Groups
Groups
Sign in
Groups
Groups
Cocoafish Users
Conversations
About
Send feedback
Help
searchEvents retrieves ALL records no matter you specify a distance
9 views
Skip to first unread message
Hugo Flores
unread,
Mar 27, 2012, 10:35:45 PM
3/27/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to cocoafi...@googlegroups.com
searchEvents retrieves ALL records no matter you specify a distance, WHY?
Wei Kong
unread,
Mar 27, 2012, 10:42:05 PM
3/27/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to cocoafi...@googlegroups.com
can you provide the parameters you used to search? also, can you please email us your app key at
in...@cocoafish.com
?
Thanks,m
Wei
--
Wei Kong
Sent with
Sparrow
Hugo Flores
unread,
Mar 28, 2012, 12:55:38 AM
3/28/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to cocoafi...@googlegroups.com
I used,
lnglat and distance.
Wei Kong
unread,
Mar 28, 2012, 1:00:05 AM
3/28/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to cocoafi...@googlegroups.com
Hi Hugo,
when you use search.json, you want to use latitude and longitude instead of lnglat as you would do with query.json.
Please see
http://www.cocoafish.com/docs/search_query
for differences between query and search.
Thanks,
Wei
___________________
Wei Kong
Co-Founder | Cocoafish
mobile:
415-533-1853
cocoafish.com
@baobeimm
Hugo Flores
unread,
Mar 28, 2012, 2:07:29 AM
3/28/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to cocoafi...@googlegroups.com
well, in the api reference says we can use
:
lnglat -
Geo location array - [longitude, latitude] and distance - Distance in km
and I get the same result with query
Wei Kong
unread,
Mar 28, 2012, 12:11:33 PM
3/28/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to cocoafi...@googlegroups.com
Hi Hugo,
In
http://cloud.appcelerator.com/docs/api/v1/events/search
for events/search.json, it listed
latitude
Latitude of the search starting point
longitude
Longitude of the search starting point
I took a look at your log and you passed in lat and lng:
lnglat={longitude:20.66218,latitude:-103.394394}
But it is not a recognized parameter so it was ignored, it should be
https://api.cocoafish.com/v1//events/search.json?key=
<your key>&latitude=-103.394394&longitude=20.66218&distance=0.00782712
___________________
Wei Kong
Co-Founder | Cocoafish
mobile:
415-533-1853
cocoafish.com
@baobeimm
Reply all
Reply to author
Forward
0 new messages