0xpr0xy / facebook-cli Goto Github PK
View Code? Open in Web Editor NEWLet's you use facebook from the command line
License: GNU General Public License v3.0
Let's you use facebook from the command line
License: GNU General Public License v3.0
Well, I have tried to use fb.py but it does work:
$ ./fb.py feed
Logging you in to facebook...
START /usr/bin/chromium-browser "https://www.facebook.com/dialog/oauth?scope=publish_stream%2Cread_stream%2Cuser_status&redirect_uri=http%3A%2F%2F127.0.0.1%3A8080&response_type=token&client_id=CLIENT_ID"
Created new window in existing browser session.
127.0.0.1 - - [08/Nov/2013 14:22:22] "GET /?error_code=101&error_message=Invalid%20API%20key HTTP/1.1" 200 -
127.0.0.1 - - [08/Nov/2013 14:22:22] "GET /?= HTTP/1.1" 200 -
127.0.0.1 - - [08/Nov/2013 14:22:22] "GET /? HTTP/1.1" 200 -
127.0.0.1 - - [08/Nov/2013 14:22:23] "GET /? HTTP/1.1" 200 -
127.0.0.1 - - [08/Nov/2013 14:22:23] "GET /favicon.ico HTTP/1.1" 200 -
127.0.0.1 - - [08/Nov/2013 14:22:23] "GET /? HTTP/1.1" 200 -
127.0.0.1 - - [08/Nov/2013 14:22:23] "GET /favicon.ico HTTP/1.1" 200 -
127.0.0.1 - - [08/Nov/2013 14:22:23] "GET /? HTTP/1.1" 200 -
127.0.0.1 - - [08/Nov/2013 14:22:24] "GET /? HTTP/1.1" 200 -
these last requests repeats endless time.
And I would like to note that when chomium opens url it reports the error:
Error
Invalid API key
$ cat fb.log
ERROR:root:HTTP Error 403: Forbidden
Traceback (most recent call last):
File "fb.py", line 161, in post_status_to_friend_wall
self.fb.graph_post("/%s/feed" %friend_id, {"message":message})
File ".fbconsole.py", line 190, in graph_post
return json.load(opener.open(_get_url(path), params))
File "c:\Python27\lib\urllib2.py", line 410, in open
response = meth(req, response)
File "c:\Python27\lib\urllib2.py", line 523, in http_response
'http', request, response, code, msg, hdrs)
File "c:\Python27\lib\urllib2.py", line 448, in error
return self._call_chain(_args)
File "c:\Python27\lib\urllib2.py", line 382, in _call_chain
result = func(_args)
File "c:\Python27\lib\urllib2.py", line 531, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 403: Forbidden
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.