foursquare

Using Httplib2 on Python Appengine

狂风中的少年 提交于 2019-11-30 18:11:23
Why am I getting this error when running my application which is trying to OAuth with Foursquare? import httplib2 ImportError: No module named httplib2 I have installed httplib2 by downloading it and $ python setup.py install on the command line as instructed here Am I missing something? Thanks You will need to include the library in your project so that the App Engine runtime knows what you're importing. From here : You can include other pure Python libraries with your application by putting the code in your application directory. If you make a symbolic link to a module's directory in your

Parsing JSON response in Android

房东的猫 提交于 2019-11-30 15:13:10
I am writing a httpget request for android that queries the foursquare api for nearby event. The JSON responce I receive back is {"groups": [ { "type": "Nearby", "venues": [ { "id": 2587838, "name": "Marriott Druids Glen Hotel Newtownmountkennedy", "primarycategory": { "id": 79281, "fullpathname": "Travel:Resort", "nodename": "Resort", "iconurl": "http://foursquare.com/img/categories/travel/resort.png" }, "address": "Newtownmountkennedy", "city": "Newtownmountkennedy", "state": "", "verified": false, "geolat": 53.091717, "geolong": -6.079162, "stats": { "herenow": "0" }, "distance": 5596 },

Call to undefined function curl_init() [duplicate]

北城余情 提交于 2019-11-30 14:06:32
问题 This question already has answers here : Closed 7 years ago . Possible Duplicate: curl_init() function not working I am using PHP for accessing the Foursquare API. I have set up everything for the authentication with Foursquare. But as soon as I click on the "Allow" button, my callback.php gives me the following error: Fatal error: Call to undefined function curl_init() in C:\wamp\www\EpiFoursquare.php on line 119 Call Stack Time Memory Function Location 0.0007 372592 {main}( ) ..\callback

How can I watch a Foursquare venue for check-ins?

|▌冷眼眸甩不掉的悲伤 提交于 2019-11-30 13:05:18
The FourSquare API seems to be very user-centric: After logging in via OAuth I can see my friends check in, and which of my friends are currently checked into a given venue. I'm looking for something more venue-centric, where I can get a list of everybody currently checked into a venue (friends and non-friends), or ideally receive a notification each time there is a new check-in at a specific venue. Is this possible with the existing V2 API? I know you asked this 2 months ago and surely found an answer already but to answer your question directly. where I can get a list of everybody currently

Call to undefined function curl_init() [duplicate]

元气小坏坏 提交于 2019-11-30 09:39:35
Possible Duplicate: curl_init() function not working I am using PHP for accessing the Foursquare API. I have set up everything for the authentication with Foursquare. But as soon as I click on the "Allow" button, my callback.php gives me the following error: Fatal error: Call to undefined function curl_init() in C:\wamp\www\EpiFoursquare.php on line 119 Call Stack Time Memory Function Location 0.0007 372592 {main}( ) ..\callback.php:0 0.0039 571896 EpiFoursquare->getAccessToken( ) ..\callback.php:17 0.0040 572928 EpiFoursquare->request( ) ..\EpiFoursquare.php:31 Where does this error come from

how to use foursquare API in android application?

不打扰是莪最后的温柔 提交于 2019-11-30 08:45:20
问题 I want to use foursquare API in my android application. In my app I want to fetch nearby place. Could you please show me how to start? 回答1: Check out the Foursquare page for developers. They are having an API which you can use. here: http://developer.foursquare.com/ 回答2: Download the sample application from github. https://github.com/lorensiuswlt/AndroidFoursquare 回答3: You can take a look at this project on github. You can learn from it ou use as a library. For now, only some methods are

foursquare integration in android

徘徊边缘 提交于 2019-11-30 07:42:48
问题 I want to integrate foursquare in android. So i tried two examples. First Example: public class ActivityWebView extends Activity { private static final String TAG = "ActivityWebView"; /** * Get these values after registering your oauth app at: https://foursquare.com/oauth/ */ public static final String CLIENT_ID = ""; public static final String OAUTH_CALLBACK_SCHEME = "x-oauthflow-foursquare"; public static final String OAUTH_CALLBACK_HOST = "callback"; public static final String CALLBACK_URL

Connecting with FourSquare API V2 using PHP

别说谁变了你拦得住时间么 提交于 2019-11-30 07:42:48
问题 I'm using this guide to get a quick and dirty OAuth authentication so I can play around with the API. Unfortunately his tutorial seems spotty. The EpiOAuth.php file referenced wasn't found in his link and I had to do a google search to find a copy. Upon running index.php for the first time to get my token I received a 'missing parameter' error on the $results = $foursquareObj->getAuthorizeUrl() line in index.php. Even by manually placing my callback URL in, my token comes back as "h": Login

Using Httplib2 on Python Appengine

非 Y 不嫁゛ 提交于 2019-11-30 03:03:08
问题 Why am I getting this error when running my application which is trying to OAuth with Foursquare? import httplib2 ImportError: No module named httplib2 I have installed httplib2 by downloading it and $ python setup.py install on the command line as instructed here Am I missing something? Thanks 回答1: You will need to include the library in your project so that the App Engine runtime knows what you're importing. From here: You can include other pure Python libraries with your application by

How can I watch a Foursquare venue for check-ins?

北城余情 提交于 2019-11-29 18:41:12
问题 The FourSquare API seems to be very user-centric: After logging in via OAuth I can see my friends check in, and which of my friends are currently checked into a given venue. I'm looking for something more venue-centric, where I can get a list of everybody currently checked into a venue (friends and non-friends), or ideally receive a notification each time there is a new check-in at a specific venue. Is this possible with the existing V2 API? 回答1: I know you asked this 2 months ago and surely