Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/estebanlm/pharo-twitter

A Pharo API for Twitter
https://github.com/estebanlm/pharo-twitter

pharo twitter

Last synced: 5 days ago
JSON representation

A Pharo API for Twitter

Awesome Lists containing this project

README

        

# pharo-twitter
a [Pharo](http://pharo.org) API for Twitter

## Installation
- You need Pharo 7.0

```Smalltalk
Metacello new
repository: 'github://estebanlm/pharo-twitter/src';
baseline: 'Twitter';
load.
```

## Examples

### Reading your timeline.

```Smalltalk
twitterLogin := TwiLogin
consumerKey: 'CONSUMER_KEY'
consumerSecret: 'CONSUMER_SECRET'
accessToken: 'ACCESS_TOKEN'
accessTokenSecret: 'ACCESS_TOKEN_SECRET'.

twitterLogin timelineUser includeRTs: true; next.
twitterLogin timelineHome next.
```