Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/inf800/twitter_linkedin_bot
- Owner: INF800
- Created: 2022-02-09T22:45:21.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-01-16T08:21:35.000Z (11 months ago)
- Last Synced: 2024-01-16T14:16:02.906Z (11 months ago)
- Language: Python
- Size: 103 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
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.