foursquare

Google Place API - How to retrieve opening hours

十年热恋 提交于 2019-12-23 12:44:09
问题 There a way to get the opening hours of google place? I looked for in a several forum and documentations but i didn't find nothing (perhaps only foursquare API expose that information) Google doesn't expose this information? Is there any service that expose this? (facebook place, yelp, ecc..) Thanks so much for all reply Alberto 回答1: I guess this is possible now: https://developers.google.com/places/documentation/details#PlaceDetailsResults See this gist for sample output if you don't want to

Foursquare API Venues returning almost empty venues intent=browse

Deadly 提交于 2019-12-23 04:07:20
问题 I've been looking at the Foursquare API, I'm trying to do requests for venues with a url like "https://api.foursquare.com/v2/venues/search?limit=50&intent=browse&m=foursquare&ne=20.6077948349134,-105.235476512856&v=20150610&sw=20.6055471650866,-105.237877821883&oauth_token=${token}" At some point this kind of requests were returning a fair amount of venues but recently the API started to return almost empty venues array in the response. Any Ideas? Has something changed recently? Cheers

Foursquare Venue API & Number of Results

时光总嘲笑我的痴心妄想 提交于 2019-12-23 03:03:05
问题 Is it possible to get more than 50 results from the Foursquare Venues API? (https://developer.foursquare.com/docs/venues/search.html) The default limit is 50, but it does not make any mention of pagination or offset to get additional listings. Please advise. 回答1: As answered here The API docs here can help. Foursquare searching is very closely linked to the location 'point' (the 'll' param on the query) that you provide. The simple answer is that to find more venues within a given area, you

Foursquare Venue API & Number of Results

社会主义新天地 提交于 2019-12-23 03:03:03
问题 Is it possible to get more than 50 results from the Foursquare Venues API? (https://developer.foursquare.com/docs/venues/search.html) The default limit is 50, but it does not make any mention of pagination or offset to get additional listings. Please advise. 回答1: As answered here The API docs here can help. Foursquare searching is very closely linked to the location 'point' (the 'll' param on the query) that you provide. The simple answer is that to find more venues within a given area, you

curl -u equivalent in .Net WebClient class

一曲冷凌霜 提交于 2019-12-22 11:26:27
问题 The question explains it all but here is some more info. I am trying to use 4sq api with C# and need to send username password pair in every request. The API documentations says that "curl -u user:pass" does the job but how can I do it with WebClient? Don't have time to inspect the traffic, maybe someone knows about it... WebClient.Credential doesn't work by the way. Thanks. 回答1: This is the solution: webRequest.Headers.Add("Authorization", "Basic " + Convert.ToBase64String(authbytes));

foursquare API and java

你说的曾经没有我的故事 提交于 2019-12-22 00:55:57
问题 I am planning to develop a very simple java application (not mobile, but desktop apps) that utilizes web services, specifically Foursquare API and Google Map Web Service. I plan to get the users address and then using Google Map to translate the address to lattitude and longitude then feed this result to foursquare API method Venue methods (Nearby and search) to get a results of nearby venues and show it to users. The question are: Is this all do able in Java? How do I call such http://api

Multiple Foursquare 'save' buttons on one page

蹲街弑〆低调 提交于 2019-12-21 21:36:45
问题 I am working on a site that displays a list of venues and would like to add a Foursquare 'save' button for each venue in the list. Is it possible to show multiple Foursquare 'save' buttons on a single page? I've tried creating multiple vCard blocks (one for each venue) and inserting a 'save' button in each block but the locations are not being picked up. 回答1: After inspecting the source of the widgets.js and widgets.asyncbundle.js I discovered that setting the data-context atribute of the

Creating Grouped UITableview with Different Cell Types

别等时光非礼了梦想. 提交于 2019-12-21 02:49:21
问题 I need to create a grouped uitableview that includes some sections and possibly different cell types in each sections. I am trying to create something like old foursquare app, user page (includes 'leaderboard', 'friend suggestions', 'friends', 'stats', 'most explored categories' ... sections). I am fairly new to ios programming, so that view may not be a grouped uitableview. What I especially stuck is creating different cells for sections, and finding out which cells are clicked. My data

Use of FourSquare API to find nearby places in iOS SDK

流过昼夜 提交于 2019-12-21 01:22:08
问题 How to use Foursquare API to find nearby places in iOS Applications. As I am new in this environment.. So please help me to find any sample tutorial available on the API. I had gone through this link, And I got the response "error type" : deprecated so please provide another link for this same solution.. Thanks in advance.. 回答1: You can try looking at this link for more information about Objective-C libraries that work with the foursquare API. Edit: Currently this one appears to be the more

How to crawl foursquare check-in data?

北城余情 提交于 2019-12-20 15:10:33
问题 Is it possible to crawl check-in data from foursquare in a greedy way? (even if I don't have friendship with all the users) Just like crawling publicly available twitter messages. If you have any experience or suggestions, please share. Thanks. 回答1: If you have publicly available tweets containing links to foursquare, you can resolve the foursquare short links (4sq.com/XXXXXX) by making a HEAD request. The head request will return a URL with a check-in ID and a signature. You can use those