foursquare

Is there any way to get the foursquare venue id of a place given an Instagram location id?

怎甘沉沦 提交于 2019-12-06 03:43:12
问题 Instagram locations are selected from a list of foursquare venues, and it's definitely possible to search for Instagram locations given a foursquare venue id, but I have an Instagram post and would like to find the foursquare venue it corresponds to - is this possible? 来源: https://stackoverflow.com/questions/19283541/is-there-any-way-to-get-the-foursquare-venue-id-of-a-place-given-an-instagram-lo

How to create a gridview like Foursquare interest selection screen?

不问归期 提交于 2019-12-06 02:05:21
I am creating an app which requires the user to select multiple interests. I am trying to create a screen similar to the Foursquare interest selection similar to a Tag cloud where multiple buttons can be selected to represent the users interests. I have tried creating a gridview but I'm not able to achieve the effect of buttons wrapping up to the next line. Is there a way this can be achieved via a gridview? Is there a library which does this kind of UI? You're looking for FlowLayout with gravity="center_horizontal" . There are several implementations available, a lot of them as library

Tastypie: How can I fill the resource without database?

我怕爱的太早我们不能终老 提交于 2019-12-06 01:49:54
问题 I want to grab some information from Foursquare , add some fields and return it via django-tastypie. UPDATE: def obj_get_list(self, request=None, **kwargs): near = '' if 'near' in request.GET and request.GET['near']: near = request.GET['near'] if 'q' in request.GET and request.GET['q']: q = request.GET['q'] client = foursquare.Foursquare(client_id=settings.FSQ_CLIENT_ID, client_secret=settings.FSQ_CLIENT_SECRET) a = client.venues.search(params={'query': q, 'near' : near, 'categoryId' :

foursquare api - I can't create new application

杀马特。学长 韩版系。学妹 提交于 2019-12-05 16:00:39
I am trying to create an app on foursquare. I fill up everything except the "Install options" section and i submit the form. Then i am getting this response (saw that through chrome dev tools) : {"meta":{"code":403,"errorType":"other","errorDetail":"Form code invalid.","requestId":"54ea4fa7498ea21416da93df"},"notifications":[{"type":"notificationTray","item":{"unreadCount":0}}],"response":{}} Any ideas? I just received an answer to my request to the foursquare API team. It was an issue affecting some new accounts. It should be fixed now. If you are still facing any issues you can contact them

categoryId ignored for intent=browse searches in foursquare venues/search

我只是一个虾纸丫 提交于 2019-12-05 02:05:14
问题 As of a few days ago, foursquare venues/search with intent=browse seems to ignore categoryId. It definitely worked before that. If I change intent=checkin the category filtering is applied. Here's a sample query https://api.foursquare.com/v2/venues/search?radius=1405&ll=37.769587%2C-122.420139&limit=30&intent=browse&client_id=CLIENTID&v=20120216&client_secret=CLIENTSECRET&categoryId=4d4b7105d754a06374d81259 note I'm doing a userless query. Perhaps related to the recent changes to allow

API Quota exceeded

可紊 提交于 2019-12-05 01:11:32
问题 In the documentation we can find that The limits are based on a moving window that tracks the number of requests you send per hour. (https://developer.foursquare.com/overview/ratelimits) but in the practice my rate limit isn't recharged even if I wait several minutes. What happened? Did they change the implementation of API rate limits? 回答1: The window should still update be updating in real time. To be clear, if your rate limit is 500, at 11:00, you send 5 requests, the X-RateLimit-Remaining

Is there an api order_by/sort parameter in the works?

帅比萌擦擦* 提交于 2019-12-04 23:43:26
问题 It would be extremely helpful if an "order_by" & "sort" parameter could be passed in the api querystring. "order_by" should accept the following options: distance | checkins | name "sort" should accept the following options: asc | desc The matched result set should have the order_by and sort parameters applied prior to narrowing the result set to the max "50" results that get returned. Is this on the foursquare radar or is it something that will not be offered? We are building an app that

foursquare API and java

筅森魡賤 提交于 2019-12-04 21:06:00
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.foursquare.com/v1/venues in java and get the result? I know I can use Xpath to parse the result. I am

Multiple Foursquare 'save' buttons on one page

不想你离开。 提交于 2019-12-04 16:25:46
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. After inspecting the source of the widgets.js and widgets.asyncbundle.js I discovered that setting the data-context atribute of the 'Save to Foursquare' button to the ID of the VCard will link these two. Like so: <div id="hcard-Station

How or where does foursquare gets its geodata from?

故事扮演 提交于 2019-12-04 14:35:12
问题 I've been trying to answer this myself but I can't find it, would any of you know? 回答1: Truth is they probably scraped it from someone else initially. See Yelp, Maps (Gmail,Yahoo,Bing,etc), Citysearch, etc. Yahoo has some flexible GeoData APIs. Some of the above also have APIs (including FourSquare) which would make this easier, but is most likely against their terms of service (TOS). Please post back if you find out otherwise, or a viable solution. 回答2: Users generate/add the locations 来源: