foursquare

Creating Grouped UITableview with Different Cell Types

爷,独闯天下 提交于 2019-12-03 08:47:46
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 source will be 2 different NSArray* that consists of different data types, that's why I need different

How to use categoryId in Foursquare Venues search API

房东的猫 提交于 2019-12-03 08:41:23
I am getting unexpected results from API queries when including a categoryId parameter. For instance, when using the following parameters to search for 'The Citizen Public House' in Boston, MA ll: 42.3489027315987, -71.096134185791 query: citizen categoryId: 4bf58dd8d48988d116941735 <== 'bars' The results wind up including venues from other categories, like 'banks'. Is there something wrong with the categoryId parameter? In the API documentation it is labeled 'experimental.' Am I using it improperly? FYI: I am using the quimby gem to interface with the foursquare API via a rails app. Thanks!!

How or where does foursquare gets its geodata from?

那年仲夏 提交于 2019-12-03 08:35:06
I've been trying to answer this myself but I can't find it, would any of you know? 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. Users generate/add the locations 来源: https://stackoverflow.com/questions/2216198/how-or-where-does-foursquare-gets-its-geodata-from

How can I get the position (lat, lon) of a foursquare checkin posted on twitter?

送分小仙女□ 提交于 2019-12-03 08:10:07
I search with the twitter API all the public tweets with "4sq.com": http://search.twitter.com/search.json?q=4sq.com so I get all the check-in on Foursquare that actually shared on Twitter. {"created_at":"Sun, 08 Jan 2012 20:05:27 +0000","from_user":"fenavergara","from_user_id":50876086,"from_user_id_str":"50876086","from_user_name":"Fernanda Vergara Ch","geo":null,"id":156104246239051776,"id_str":"156104246239051776","iso_language_code":"lt","metadata":{"result_type":"recent"},"profile_image_url":"http://a2.twimg.com/profile_images/1708744785/image_normal.jpg","profile_image_url_https":"https:

Use of FourSquare API to find nearby places in iOS SDK

我的梦境 提交于 2019-12-03 07:51:12
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.. 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 recent, more chances of it working properly, also good documentation there on how to integrate it. It is the

How to crawl foursquare check-in data?

前提是你 提交于 2019-12-03 03:48:10
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. 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 two values to retrieve a check-in object via the foursquare API /checkins/ endpoint. You're only allowed to

Foursquare API: Getting an exhaustive list of venues in a given area

↘锁芯ラ 提交于 2019-12-03 00:44:01
I'm using Foursquare API to get a list of venues of a certain category. One important requirement is that the list is exhaustive, i.e. includes all relevant points. The v2/venues/search API endpoint enforces a limit of 50 venues on the output. So the first idea that comes to mind is splitting the area into several sections (using "sw" and "ne" params) and then combining the results. Clearly, the density of points will vary dramatically depending on location, so we'll need to use some kind of adaptive algorithm to flexibly adjust the size of the search window so that it contains all points.

Integrating two login system into an app

a 夏天 提交于 2019-12-02 22:47:40
问题 I'm trying to integrate both a Facebook and a Foursquare login system into my app. However, I have no idea how to edit the URL type and URL scheme under the myapp.plist . Should I just add a new item under URL scheme or create a new URL type? This is the image for Facebook login. 回答1: It looks like you're just trying to create a custom URL scheme. To do this, do something like this: Then, all URL requests that are sent to myapp://whatever-url on the device will be directed into your app. You

Android - ScrollView like foursquare with maps + list

﹥>﹥吖頭↗ 提交于 2019-12-02 16:26:17
This is the Android equivalent of this iOS question. Trying to create a view that contains a MapView at about 20% of the screen (under an ActionBar...) and the rest of the screen is a ScrollView that when scrolling down, overlaps on top of the MapView and hides it. In short like FourSquare's Android app. Any ideas? I've made an implementation based on AndroidSlidingUpPanel (many thanks to this project). Details http://android.amberfog.com/?p=915 Source code with example: https://github.com/dlukashev/AndroidSlidingUpPanel-foursquare-map-demo LAST UPDATE <RelativeLayout xmlns:android="http:/

What is the IP address range for foursquare API? [closed]

我的未来我决定 提交于 2019-12-02 12:19:34
I'm developing a Web service using a VM behind a firewall on a University. I need to know what a range of IP address to give to our IT guy so we can get access to calls from foursquare. You'll never be able to reliably pin this down. It's not as if they are using one subnet. Your IT guy needs to open up your firewall differently, based on your end, not Foursquare's. Navigate to zoneedit.com in the DNS lookup field enter foursquare.com and in the dropdown select "Ip Address (A)" you will find only one record listed. After further research I found that Foursquare is hosted at Amazon Web Services