{"_id":"facebook-api","_rev":"13-0548b8fe4fcbde59a8b5852ac2319a8b","name":"facebook-api","description":"offering high level and low level calls against the graph API","dist-tags":{"latest":"0.1.2"},"versions":{"0.1.0":{"name":"facebook-api","description":"offering high level and low level calls against the graph API","version":"0.1.0","author":{"name":"Mark Engel","email":"mark.c.engel@gmail.com"},"keywords":["facebook"],"main":"facebook-api.js","directories":{"lib":"./lib"},"repository":{"type":"git","url":"git://github.com/mren/facebook-api.git"},"engines":{"node":">= 0.3.6"},"files":[""],"homepage":"https://github.com/mren/facebook-api","_id":"facebook-api@0.1.0","_engineSupported":true,"_npmVersion":"0.3.9","_nodeVersion":"v0.4.2","_defaultsLoaded":true,"dist":{"shasum":"38f22a3fa2a4b9af50312b2420946bff32210a19","tarball":"https://registry.npmjs.org/facebook-api/-/facebook-api-0.1.0.tgz","integrity":"sha512-BETMSyB45ZlkDHhuojCCys/8f47ieVrqzxgE/x8qdwk1OQCqc9gxEUQBfMvCju6sOIZt5LCsKa8uVMFZIMhO6w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBBhl/Ea7aPwWqCMiLfVlfEdZVMtl7H0gKrd3Z4h+zFnAiB/gmSvCScy7eEdaGMaMnGxFYqfJOCsTUwlXRQRDkXCEg=="}]}},"0.1.1":{"name":"facebook-api","description":"offering high level and low level calls against the graph API","version":"0.1.1","author":{"name":"Mark Engel","email":"mark.c.engel@gmail.com"},"keywords":["facebook"],"main":"facebook-api.js","directories":{"lib":"./lib"},"repository":{"type":"git","url":"git://github.com/mren/facebook-api.git"},"engines":{"node":">= 0.3.6"},"files":[""],"homepage":"https://github.com/mren/facebook-api","_id":"facebook-api@0.1.1","_engineSupported":true,"_npmVersion":"0.3.9","_nodeVersion":"v0.4.2","_defaultsLoaded":true,"dist":{"shasum":"d16fee30b5f99d8607e366ed66e194df0c3e9184","tarball":"https://registry.npmjs.org/facebook-api/-/facebook-api-0.1.1.tgz","integrity":"sha512-yScaWkWcZH+yeS/ppaD5M/nIHtP4c3C9u39yrp0TxthFp+KeZo4dzV81xbLQnJCvBmUwrVXCwPIhmyqXaVmiKw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDW2cowAssxpzEcN/0fu6oxZ5FDO3DVCCzCpFqknvqw6AiA7v4d5WLxKTUQd7r3F8pg2oK0nO6KK7fLply214BjYNg=="}]}},"0.1.2":{"name":"facebook-api","description":"offering high level and low level calls against the graph API","version":"0.1.2","author":{"name":"Mark Engel","email":"mark.c.engel@gmail.com"},"keywords":["facebook"],"main":"facebook-api.js","directories":{"lib":"./lib"},"repository":{"type":"git","url":"git://github.com/mren/facebook-api.git"},"engines":{"node":">= 0.3.6"},"files":[""],"homepage":"https://github.com/mren/facebook-api","readme":"Facebook API\n============\nAccess Facebook with Javascript. This module offers high level and low level calls to the graph API.\n\n**This is an work in process**\nI will implement features as I need them.\nIf you have something valuable to add, send it to me and I will merge it.\n\nFeatures\n-----------\n\n* view information about entities (users, pages, etc.)\n* get users friends\n* view users wall\n* post on walls\n* users photos\n* users photo albums\n\nUsage\n---------\n\nWe use the function viewback to display the results of the callbacks\n\n    function viewback(err, data) { \n        if(err) { \n            console.log(\"Error: \" + JSON.stringify(err)); \n        } else { \n            console.log(\"Data: \" + JSON.stringify(data)); \n        }\n    }\n\nUse API without Authorization\n\n    var fbapi = require('facebook-api');\n    var client = fbapi.user(null); // do not set an access token\n    client.get(\"btaylor\").info(viewback);\n\n    > Data: {\"id\":\"220439\",\"name\":\"Bret Taylor\",\"first_name\":\"Bret\",\"last_name\":\"Taylor\",\"link\":\"http://www.facebook.com/btaylor\",\"gender\":\"male\",\"locale\":\"en_US\"}\n\nUse API with Authorization\n\n    var fbapi = require('facebook-api');\n    var client = fbapi.user(access_token); // needs a valid access_token\n    client.me.info(viewback);\n    client.me.friends(viewback);\n\nUse Raw API\n\n    var raw = require('facebook-api').raw;\n    raw(\"GET\", \"cocacola\", [], viewback);\n    \n    > Data: {\"id\":\"40796308305\",\"name\":\"Coca-Cola\" ... }\n\nContributing\n-------------------\n\nI will merge the following merge requests:\n\n* unit tested changes\n* refactored old code\n* added new feature\n* fixed bugs\n","_id":"facebook-api@0.1.2","dist":{"shasum":"f54c6fbd22f97930aeff61d0d9dccbdc3d8fb7da","tarball":"https://registry.npmjs.org/facebook-api/-/facebook-api-0.1.2.tgz","integrity":"sha512-L/p5JUVz3t3rx84zbxfkDEdM7nPOx6DlFu/jysVNy9A7l+HKsCEH2lJMziPsvqmA8XDYi6dEnaID7LOekSgN8w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAzSOFUDp3qPav6aABM3teWOC4ePZMIrFuWFMmsJxSBxAiAsJpYXuCgsnifcpG2VLzbKspKHWfoqkSC8WsP92FlFDA=="}]},"maintainers":[{"name":"mren","email":"mark.c.engel@gmail.com"}]}},"maintainers":[{"name":"mren","email":"mark.c.engel@gmail.com"}],"time":{"modified":"2022-06-17T23:14:06.744Z","created":"2011-03-10T15:30:07.484Z","0.1.0":"2011-03-10T15:30:07.923Z","0.1.1":"2011-03-16T15:28:57.682Z","0.1.2":"2012-07-31T19:55:40.425Z"},"author":{"name":"Mark Engel","email":"mark.c.engel@gmail.com"},"repository":{"type":"git","url":"git://github.com/mren/facebook-api.git"},"users":{"fgribreau":true,"rchk":true,"calmwinds":true,"flaviomarcioti":true}}