huydx / facy

command line power tool for facebook
MIT License
239 stars 30 forks source link

does this still work? #28

Closed neumachen closed 9 years ago

neumachen commented 9 years ago

When selecting the type of app, what should I choose?

huydx commented 9 years ago

@magicalbanana you can choose what ever you want :+1:

neumachen commented 9 years ago

Can't make it work. By the time I input my access token, it keeps saying facy will restart

huydx commented 9 years ago

@magicalbanana can you capture screen and write down the process to reproduce the bug?

neumachen commented 9 years ago

Here's what happens after access token is entered:

kareem@kareem-VAIO:~$ facy

  _/ ____\____    ____ ___.__.
  \   __\__  \ _/ ___<   |  |
   |  |   / __ \  \___\___  |
    |__|  (____  /\___  > ____|
                \/     \/\/  
Fetching facebook stream at first time may take a while ♩ ♪ ♫ ♬

★  goto https://developers.facebook.com/tools/accesstoken/ and enter User access token: 
Created new window in existing browser session.
CAAKR71MdcZAABALmyunnrf0PhZBboeSSuIBNpT3KFkOsb90DDZBu0CHUj3P9fZC4OTqT3eHZAZBwNwZCrKtbRHkhYUItHS5gkXkZChiuTJCPxoi5rkW8uU9NXZBRsADcNiZAc5U25lmExUXoC8zvyOSDpCpxupd23uZB6udfb22xYVDUoN1iFIkGlGBTH1ZBw4Fp6I3NwB2ltaOf7t34t6eKfpvMyLHGEApsU9YZD
/home/kareem/.rbenv/versions/2.1.3/lib/ruby/gems/2.1.0/gems/koala-1.10.1/lib/koala/oauth.rb:367:in `fetch_token_string': type: OAuthException, code: 101, message: Error validating application. Application has been deleted. [HTTP 400] (Koala::Facebook::OAuthTokenRequestError)
    from /home/kareem/.rbenv/versions/2.1.3/lib/ruby/gems/2.1.0/gems/koala-1.10.1/lib/koala/oauth.rb:314:in `get_token_from_server'
    from /home/kareem/.rbenv/versions/2.1.3/lib/ruby/gems/2.1.0/gems/koala-1.10.1/lib/koala/oauth.rb:233:in `exchange_access_token_info'
    from /home/kareem/.rbenv/versions/2.1.3/lib/ruby/gems/2.1.0/gems/facy-1.2.17/lib/facy/get_token.rb:53:in `exchange_long_term_token'
    from /home/kareem/.rbenv/versions/2.1.3/lib/ruby/gems/2.1.0/gems/facy-1.2.17/lib/facy/get_token.rb:99:in `login_flow'
    from /home/kareem/.rbenv/versions/2.1.3/lib/ruby/gems/2.1.0/gems/facy-1.2.17/lib/facy/core.rb:27:in `_init'
    from /home/kareem/.rbenv/versions/2.1.3/lib/ruby/gems/2.1.0/gems/facy-1.2.17/lib/facy/core.rb:67:in `start'
    from /home/kareem/.rbenv/versions/2.1.3/lib/ruby/gems/2.1.0/gems/facy-1.2.17/bin/facy:18:in `<top (required)>'
    from /home/kareem/.rbenv/versions/2.1.3/bin/facy:23:in `load'
    from /home/kareem/.rbenv/versions/2.1.3/bin/facy:23:in `<main>'
huydx commented 9 years ago

@magicalbanana i see, you deleted the app from facebook developer page, so facy is not possible to authorize the app. You can create new app at facebook developer page.