Skip to content

INF800/twitter_linkedin_bot

Repository files navigation

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
    LINKEDIN_ACCESS_TOKEN="..."
    LINKEDIN_URN="..."
    TWITTER_API_KEY="..."
    TWITTER_API_KEY_SECRET="..."
    TWITTER_ACCESS_TOKEN="..."
    TWITTER_USER_ID="..."
    TWITTER_USERNAME="..."
    More info present here 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.

About

Post tweets from twitter into linkedin

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published