joelongstreet / flapi Goto Github PK
View Code? Open in Web Editor NEWA node flickr module
A node flickr module
Flickr returns an invalid auth token error when calling a public api method if the authApp
method of the module has already been called.
write tests and support common api methods.
To make this really officially 1.0, need to have at least one example of this app running in a production environment.
We want a 1:1 mapping so the flickr documentation is the primary resource for using this module. Also, makes things much easier to maintain.
I believe this works, but the test is failing
I get error 95 (SSL is required).
When I change http protocol in flapi, encode files it works
http://code.flickr.net/2014/02/24/new-ssl-endpoints-for-the-flickr-api/
The following are probably outside of the scope of this module:
... so prepare an example in express of how you might be able to accomplish this.
Since this module handles all api requests for flickr, pagination would be essentially impossible by the module user.
Add a new feature which allows a module user to call something like:
flapiClient.api({
method : 'some.flickr.method',
params : { someParam : true},
perform : false,
next : function(data){
console.log(data.url);
console.log(data.params);
}
})
This would prevent the external call to flickr and instead immediately return the URL (with sig, oauth_token, etc.) and params.
Use case for this is to allow the client application to perform the ajax call instead of the server.
I think this actually works, but the test currently fails
Move examples out of the wiki and into a directory. Move other stuff into .npm ignore. Example - https://github.com/visionmedia/express/blob/master/.npmignore
include an optional http server in the module for an auth callback. Is this a terrible idea? I'm not really sure...
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.