Code Monkey home page Code Monkey logo

facebook-cli's People

Contributors

0xpr0xy avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

atykhonov molaxx

facebook-cli's Issues

Endless GET requests to the local server

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

not able to post on friends wall.

$ 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

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.