This is mainly for @tony baldwin
A very simple ~friendica
client, wich uses #OAuth
to authenticate with the server and #JSON
to get user timeline. All written in #bash
. It requires only openssl and perl.
Is based on bash-oauth
Find the tar.gz attached.
To install extract all files somewere in your $PATH, then create the configuration file in your $HOME:
friendica_url=http://kirgroup.com #no trailing slash
Make up two values for "consumer_key" and "consumer_secret" (I used "1234567890" for both).
Go to your friendica, "Settings"->"Connected apps" -> "Add application".
Fill in your consumer key and secret, leave blank "Redirect" field, put a meaningful name, and an url to a icon you like (I used this
Run $ flci.sh
and follow instruction to authorize the application.
If everting goes well, you can see last 5 items in network page with
$ fcli.sh -c home_timeline
and you can update your status with$ fcli.sh -c statuses_update -s "type message here"