- You need Pharo 7.0
Metacello new
repository: 'github://estebanlm/pharo-mastodon/src';
baseline: 'Mastodon';
load.
"Create a server"
server := MdnServer url: 'https://mastodon.social'.
"Login"
login := server loginUsername: '[email protected]' password: 'shhh'.
"Read timeline 'home'"
login timelineHome next.
"Create a server"
server := MdnServer url: 'https://mastodon.social'.
"Login"
login := server loginUsername: '[email protected]' password: 'shhh'.
"Posting a test status"
login postStatus: 'This is a test'.