simonengelhardt / meteor-foursquare Goto Github PK
View Code? Open in Web Editor NEWFoursquare OAuth flow
Home Page: https://atmosphere.meteor.com/package/foursquare
License: MIT License
Foursquare OAuth flow
Home Page: https://atmosphere.meteor.com/package/foursquare
License: MIT License
Hi Simon,
I found https://atmospherejs.com/simon/foursquare on Atmosphere and noticed it hasn't been updated for the new packaging system released with Meteor 0.9.
@msamoylov seems to have released a newer package. Maybe join forces? It's also possible to hide the old package from Atmosphere searches, but still keep it installable by dependent packages and apps:
meteor admin set-unmigrated simon:foursquare
Thanks,
Dan
Atmosphere curator
This package no longer works, Foursquare now requires a "v" parameter (date string in format yyyymmdd) in all API requests:
https://developer.foursquare.com/overview/versioning
Line 65 of foursquare_server.js needs an additional param, something like "v: '20140325'". To keep the API up to date, generate the string from the current date. This should be adequate for most applications and would be the quickest fix, but you may want to add an option to set a specific date as well.
> Exception while invoking method 'login' Error: Failed to fetch identity from Foursquare. failed [410] {"meta":{"code":410,"errorType":"param_error","errorDetail":"The Foursquare API no longer supports requests that do not pass in a version parameter. For more de...
> at getIdentity (packages/foursquare/foursquare_server.js:68)
> at Object.userAgent [as handleOauthRequest] (packages/foursquare/foursquare_server.js:6)
> at Oauth._requestHandlers.(anonymous function) (packages/oauth2/oauth2_server.js:9)
> at middleware (packages/oauth/oauth_server.js:106)
> at packages/oauth/oauth_server.js:79
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.