Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 20    Views: 198

sxywebgirl
Aspiring developer
Profile
Posts: 158
Reg: Apr 12, 2013
Altadena, CA
7,530
04/14/13 03:00 PM (11 years ago)

Yelp Reviews

I've spent hours now googling and searching for code that I can use to show business yelp reviews. I know it can be done, I've seen it on a mobile app before. I think maybe using a Yelp API might be the way to go but I have no clue on how to do this. Yelp support does not give an example of how to do this. Is there anyone that can help??? Theresa
 
SheriDee
Code is Art
Profile
Posts: 1094
Reg: Sep 23, 2011
location unknow...
22,840
like
04/14/13 05:35 PM (11 years ago)
 
SheriDee
Code is Art
Profile
Posts: 1094
Reg: Sep 23, 2011
location unknow...
22,840
like
04/14/13 05:39 PM (11 years ago)
Use the rss plug in too...... http://www.yelp.com/rss
 
sxywebgirl
Aspiring developer
Profile
Posts: 158
Reg: Apr 12, 2013
Altadena, CA
7,530
like
04/14/13 07:12 PM (11 years ago)
@Sheri, I thought of using the rss plugin but it is only for ios and I need something for both ios and android. I've gone through the yelp api documentation...I'm just not sure where to begin with it or how to write the code. I'll start again fresh in the morning and maybe it will make sense. Thank you for all your help!
 
shenry
Aspiring developer
Profile
Posts: 469
Reg: Jan 10, 2012
Orange County, ...
13,390
like
04/14/13 07:57 PM (11 years ago)
Could rssinclude work for your android?
 
sxywebgirl
Aspiring developer
Profile
Posts: 158
Reg: Apr 12, 2013
Altadena, CA
7,530
like
04/14/13 08:05 PM (11 years ago)
@shenry Wow, I see you're in my neck of the woods! Let's keep in touch. The plugin states it's only for iOS and not for android. Do you know of another option? My client wants this app available for both iOS and Android. Theresa
 
shenry
Aspiring developer
Profile
Posts: 469
Reg: Jan 10, 2012
Orange County, ...
13,390
like
04/14/13 08:33 PM (11 years ago)
I haven't done anything with android. But I have used RSSInclude. You can input a feed and style it, then copy the code into an html.doc screen and use in android. RssInclude membership is $50 a year. You can use if free, but I have a membership so not sure what features come with the free version. Nice to see another Southern Californian here. I used to live in Belmont Shore many years ago. I'm just south of Newport now.
 
SheriDee
Code is Art
Profile
Posts: 1094
Reg: Sep 23, 2011
location unknow...
22,840
like
04/14/13 10:38 PM (11 years ago)
Love the girl connections!!! Awesome!!!!! Thanks for the great hook up with rssinclude! shenry! I am wondering if rss feed through yahoo pipes and placed in opml document ....into HTML...several steps but it can be done.... But that could be placed in android format?
 
shenry
Aspiring developer
Profile
Posts: 469
Reg: Jan 10, 2012
Orange County, ...
13,390
like
04/14/13 10:56 PM (11 years ago)
@sheri, yes! bunch of us female types at BT. I'm using yahoo pipes for RSS- Regex, to clean up some html characters that can come over garbled, Unique and Sort. What is an opml document?
 
SheriDee
Code is Art
Profile
Posts: 1094
Reg: Sep 23, 2011
location unknow...
22,840
like
04/14/13 11:20 PM (11 years ago)
http://reader.feedshow.com/goodies/opml/OPMLBuilder-create-opml-from-rss-list.php Markup Language....Used mainly with google reader. I used to mashup rss feeds for jobs and vpconverted to HTML documents
 
SheriDee
Code is Art
Profile
Posts: 1094
Reg: Sep 23, 2011
location unknow...
22,840
like
04/14/13 11:21 PM (11 years ago)
http://rxpublishing.com/apps/app/cna-ready/ CNA ready On my profile too :)
 
shenry
Aspiring developer
Profile
Posts: 469
Reg: Jan 10, 2012
Orange County, ...
13,390
like
04/14/13 11:38 PM (11 years ago)
Thanks Sheri! this looks very useful.
 
shenry
Aspiring developer
Profile
Posts: 469
Reg: Jan 10, 2012
Orange County, ...
13,390
like
04/14/13 11:39 PM (11 years ago)
Could you repost your itunes links? It's not connecting.
 
SheriDee
Code is Art
Profile
Posts: 1094
Reg: Sep 23, 2011
location unknow...
22,840
like
04/15/13 12:23 AM (11 years ago)
sorry about that :( because of the character after cna ready found in itunes
 
Niraj
buzztouch Evangelist
Profile
Posts: 2943
Reg: Jul 11, 2012
Cerritos
37,930
like
04/18/13 07:48 PM (11 years ago)
Would yelp.com/biz/biz_id do trick? Check-out the Gilbert Heritage app. Go into the Directory section to see how Yelp was integrated into the app using that URL method. https://itunes.apple.com/app/id627044389?mt=8 It was done in BuzzTouch by Alzooka https://www.buzztouch.com/Alzooka -- Niraj
 
sxywebgirl
Aspiring developer
Profile
Posts: 158
Reg: Apr 12, 2013
Altadena, CA
7,530
like
04/19/13 11:53 AM (11 years ago)
@Niraj Shah, nice app. When Yelp is brought in using the URL method it brings in the whole business page. I'm wanting to only show the reviews. I know it can be done because before I found buzztouch I tried a wsywg app making program and it pulled in just the reviews. I just cant figure out how to do it. Have a great trip to St. Louis! Would love to hear about the BuzzCon. Theresa
 
GilbertAZ
Aspiring developer
Profile
Posts: 37
Reg: Jul 16, 2012
Arizona
2,820
like
04/19/13 03:11 PM (11 years ago)
Theresa, I've played a little with the Yelp API to give me info about business ratings, address and phone number. Yelp's examples are confusing, wish they gave users a very simple example. Anyway, I registered for API Keys and found the following site, which I used. He even has an example for iOS, I used the JavaScript approach. https://github.com/Yelp/yelp-api/blob/master/v2/js/business.html So, I created the below page based on the link above. Feel free to browse the code, you just need to register for your own API Keys via Yelp Developers site and replace the biz_id in the code. I left some comments in there. http://67.199.5.24/yelp/yelp-example.html Hope this helps!
 
sxywebgirl
Aspiring developer
Profile
Posts: 158
Reg: Apr 12, 2013
Altadena, CA
7,530
like
04/19/13 04:01 PM (11 years ago)
@Alzooka I'll give this a try! I hope this will solve my problem, thank you for your help :) Theresa
 
sxywebgirl
Aspiring developer
Profile
Posts: 158
Reg: Apr 12, 2013
Altadena, CA
7,530
like
04/19/13 04:05 PM (11 years ago)
@Alzooka, I actually came across this but when it said... // This example is a proof of concept, for how to use the Yelp v2 API with javascript. // You wouldn't actually want to expose your access token secret like this in a real application. And it didn't give an example of how to hide the access token secret. I didn't know what to do or if I should actually try it. Did you hide your token secret? Theresa
 
GilbertAZ
Aspiring developer
Profile
Posts: 37
Reg: Jul 16, 2012
Arizona
2,820
like
04/19/13 04:32 PM (11 years ago)
I didn't hide my keys. My requirements changed to just pointing them to the yelp website, which made my life easier. :-) I did a quick google search for "Hide API Keys Javascript" and Stackoverflow had this response: 1. Browser sends HTTP request to your server 2. Your server sends HTTP request to external REST API, with API key 3. External REST API sends response to your server 4. Your sever sends response to browser Sounds like you have to put a lock around your keys separately. http://stackoverflow.com/questions/6552915/how-to-make-rest-calls-secure I'll try to look at this closer. There has to be a better example.
 
Niraj
buzztouch Evangelist
Profile
Posts: 2943
Reg: Jul 11, 2012
Cerritos
37,930
like
04/19/13 06:23 PM (11 years ago)
It seems the Stackoverflow approach will require server-based code such as PHP? -- Niraj
 

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.