Discussion Forums  >  Maps, Device Location, Tracking

Replies: 1    Views: 154

piscapo
Code is Art
Profile
Posts: 5
Reg: Apr 26, 2014
Orange County
4,900
Fourm StarFourm Star
06/30/14 11:56 AM (8 years ago)

Yelp Integration

I am looking to integrate yelp into my BT android app and can't seem to find any documentation on how to do this. I don't mind using the url page plugin, however, it doesn't seem to pull the users location when using this plugin so Yelp doesn't update with the correct information displayed based on the current location of the device. I've tried enabling GPS on start-up of the app and that didn't do anything either. Does anyone have any insight to share on how to integrate Yelp with BT. I simply want to give my users a way to look up nearby restaurants, bars, etc within my app based off the current location of the device or based off the location the user inputs... Thanks for your help...
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
Fourm StarFourm StarFourm Star
like
07/15/14 07:11 AM (8 years ago)
What is the format for the URL? Are their any 'query variables' that it is looking for? You can 'pass' the current location coordinates to a URL by using the 'merge fields' for latitude and longitude. For example, -http://www.yelp.com/somequery.php?latitude=[deviceLatitude]&longitude=[deviceLongitude] or whatever format they prefer... You can read up on merge fields here: http://www.buzztouch.com/docs/v1.5/mergeFields.php Cheers! -- Smug
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.