Giter VIP home page Giter VIP logo

php-foursquare's People

Contributors

alexjs avatar arminrosu avatar babcca avatar cng avatar danieltrolezi avatar daschtour avatar hownowstephen avatar johntron avatar matejvelikonja avatar segeda avatar sojan-official avatar tmin10 avatar vojtasvoboda avatar zackgilbert avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

php-foursquare's Issues

blank page

Sorry I´m new to github so I didn´t know where to place question.
I put my ClintId and Secret. qas there anything else?
I tried to try public.php but it returns a blank page.

Client defaults to 20120228 version

Foursquare will soon deprecate API versions before 20120609 (announcement), and this library looks like it makes requests with a 20120228 version.

We recommend libraries periodically bump up their default versions to take advantage of newer features of the API and because Foursquare will periodically phase out support for old versions. For more details, see https://developer.foursquare.com/overview/versioning.

To avoid the library breaking when Foursquare deprecates the 20120609 version, please increase your version number soon (preferably to something modern, like 20140201) and ensure that the library can handle any changes to response structure that may have happened since your version.

Getting detailed info of venue after venues/search

Hi,

I'm trying to expand the GetPublic.php example to get the complete object of a venue.

In my foreach I have the following:
foreach($venues->response->venues as $venue) {
$complete_params = array("VENUE_ID" => $venue->id);
$complete_response = $foursquare->GetPublic("venues/VENUE_ID", $complete_params);
}

But this doesn't work, the error I'm receiving is:
{"meta":{"code":400,"errorType":"param_error","errorDetail":"Value VENUE_ID is invalid for venue id"},"response":{}}

What am I doing wrong? As far as Foursquare says, VENUE_ID should be send and that's what I'm doing, right?

change username

Break it NOW!

$ git submodule init && git submodule update
Cloning into application/third_party/php-foursquare...
fatal: remote error:
  Repository not found.
Clone of 'git://github.com/stephenyoung/php-foursquare.git' into submodule path 'application/third_party/php-foursquare' failed

Redirect URI throughout

Use FoursquareApi::RedirectUri throughout -- users can use FoursquareApi::setRedirectUri() to change it if necessary

Missing composer autoload parameter

Hi! First of all, i want to thank you. This sdk really made my life easier and it is a great job!
I've been using your sdk in my application for the last year, not by Composer though. Now, I decided to use Composer with all my dependecies.

The problem is, the autoload isn't loading your class, I think you missed the autoload parameter in you composer.json. Since the FoursquareAPI.class.php file is inside the "src" directory, I think it should be something like that:

{
    "autoload": {
        "psr-0": { "FoursquareAPI.class": "src/" }
    }
}

Maybe I'm doing something wrong, but every other libraries that I installed through Composer are ok.
Anyway, can you help me? Thank you so much!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.