GithubHelp home page GithubHelp logo

backbone-api / facebook Goto Github PK

View Code? Open in Web Editor NEW
59.0 59.0 48.0 299 KB

Interact with Facebook's Graph API using Backbone.js objects

Home Page: http://github.com/makesites/backbone-api

JavaScript 100.00%

facebook's People

Contributors

jlas avatar tracend 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

Watchers

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

facebook's Issues

Bower install error

When install the package with bower an error occurred:

  • facebook Failed to parse json
    Unexpected token ,
    An error was caught when reading the component.json: Failed to parse json
    Unexpected token ,

Don't break the call chain in the fetch

I think this should be
if( this.getToken() ){
// we'll be using the supplied access token
Backbone.Model.prototype.fetch.call( self ,options);
}

instead of

if( this.getToken() ){
// we'll be using the supplied access token
Backbone.Model.prototype.fetch.call( self );
}

Problems with bower installation

I had some problems with the Bower installation. In the bower list was the old url included. I registered the repo now to backbone-api-facebook.

Bower install failing

When I attempt to do a bower install, I'm getting an error on any version that I try it on.

bower install backbone.api.facebook
bower not-cached    git://github.com/backbone-api/facebook.git#0.6.0
bower resolve       git://github.com/backbone-api/facebook.git#0.6.0
bower not-cached    git://github.com/backbone-api/facebook.git#*
bower resolve       git://github.com/backbone-api/facebook.git#*
bower download      https://github.com/backbone-api/facebook/archive/0.6.0.tar.gz
bower download      https://github.com/backbone-api/facebook/archive/0.6.0.tar.gz
bower extract       backbone.api.facebook#* archive.tar.gz
bower extract       backbone.api.facebook#0.6.0 archive.tar.gz
bower resolved      git://github.com/backbone-api/facebook.git#0.6.0
bower resolved      git://github.com/backbone-api/facebook.git#0.6.0
bower ENOTFOUND     Package 0 not found

Any clues as to what could be causing the error?

Thanks.

Internal access token

The lib should be able to persist token credentials between requests.

If a token is retrieved (by any means) it should be stored in an internal object for later use...

Streamline initialization

There's a lot of slight differentiation on how the models/collections are initialised. These differences seem trivial and in fact having the base Model & Collection host a meged initialize method would benefit all children.

On a side note, both the base Model & Collection share a lot of logic - in the longrun might want to merge the two into one base object...

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.