specious / facebook-cli

:computer: Facebook command line client (needs to be updated)
https://asciinema.org/a/87129
397 stars 35 forks source link

Remote Server #2

Closed derBingle closed 7 years ago

derBingle commented 7 years ago

I am SSHed into a Google Compute Engine instance a lot during the day and I wanted to run facebook-cli on it, but it never receives the authorization code since the browser opens in a browser on my laptop vs the server.

Is there an easy way to manually input the authorization code?

specious commented 7 years ago

Once you create the ~/.facebook-clirc file by authenticating on a local machine, you can copy it to the remote machine and facebook-cli should work from there.