Skip to content

This bot manages "Daniel Labelle" Twitter fan page @DanielLabelleFP. It syncs videos shared on Youtube and Twitter.

Notifications You must be signed in to change notification settings

ahmetbersoz/twitter-youtube-sync-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A Twitter & Youtube bot

This bot manages "Daniel Labelle" Twitter fan page @DanielLabelleFP. It syncs videos shared on Youtube and Twitter.

Features

  • Get youtube channel videos automatically
  • Get latest tweets from twitter
  • Compare latest twitter video & latest youtube video
  • Download new videos and upload to twitter

Requirements

  • Twitter developer platform elevated access (its a bit difficult to be accepted)

Installation

Install the dependencies

pip install -r requirements.txt

Create credentials.json with this structure:

{
    "twitter": {
        "access_token": "",
        "access_secret" : "",
        "consumer_key": "",
        "consumer_secret": ""        
    },
    "youtube": {
        "channel_url": ""
    }
}

Add submodules

git submodule update --init --recursive

Usage

Run the scripts directly or create a cronjob which regularly runs the script.

python bot.py

About

This bot manages "Daniel Labelle" Twitter fan page @DanielLabelleFP. It syncs videos shared on Youtube and Twitter.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages