Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/inf800/twitter_linkedin_bot

Post tweets from twitter into linkedin
https://github.com/inf800/twitter_linkedin_bot

Last synced: 24 days ago
JSON representation

Post tweets from twitter into linkedin

Awesome Lists containing this project

README

        

# twitter_linkedin_bot

Post tweets from twitter into linkedin. Automated using github actions (Note the database trick).

> Currently supports only ubuntu os.

### How to setup

- Create `.env` file in main directory as follows with Linkedin and Twitter API access tokens and other information
```shell
LINKEDIN_ACCESS_TOKEN="..."
LINKEDIN_URN="..."
TWITTER_API_KEY="..."
TWITTER_API_KEY_SECRET="..."
TWITTER_ACCESS_TOKEN="..."
TWITTER_USER_ID="..."
TWITTER_USERNAME="..."
```
More info present [here](env_help) on how to acquire keys.
- Delete `db.txt` if you are running for the first time.
- Install google chrome and package requirements using `install.sh`
- Publish your latest tweets and retweets using `run.sh`
- To automate, add the secrets in repo > settings > secrests > actions.

> **Note:** `TWITTER_USER_ID` is not a static value.