backbone-api / facebook Goto Github PK
View Code? Open in Web Editor NEWInteract with Facebook's Graph API using Backbone.js objects
Home Page: http://github.com/makesites/backbone-api
Interact with Facebook's Graph API using Backbone.js objects
Home Page: http://github.com/makesites/backbone-api
When install the package with bower an error occurred:
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 );
}
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.
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.
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...
The meta info for links are contained in the table link_stat
https://developers.facebook.com/docs/reference/fql/link_stat/
A model containing that info would be desirable.
Sample usage:
new Facebook.Models.Link({
url: "http:///doma.in/path/post"
});
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...
Experience the power of AI.
Ask anything to Nova and receive fast and accurate answers.
Download Nova for free
https://novaappai.page.link/SsAqbP88okhm64ZR9
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.