Giter VIP home page Giter VIP logo

autoshare's Introduction

AutoShare

Automates sharing of video url on facebook wall when uploaded on Youtube. The application uses Python 3. But you can run with Python 2 as well.

##Installation##

git clone https://github.com/trishnaguha/AutoShare.git
cd AutoShare

##Usage##

  • Get PlaylistId and API Key from Youtube and Access Token from Facebook.
  • Add them to Youtube_playlistId, Youtube_api_key and Access_token is settings.py
  • python3 autoshare.py

###YouTube Settings###

  • Go to Console developers google
  • Create a new project and go to API manager.
  • Make sure the status is ON for YouTube Data API v3.
  • Select Credentials from left sidebar and generate API key.
  • Resource for YouTube API doc
  • Go to Api explorer for YouTube
  • Fill part as ContentDetails and mine as true.
  • Make sure the status is ON for OAuth 2.0 and grant permission for all scopes.
  • Then click on Execute that will generate Response.
  • Copy the uploads id which is the playlistId.

###Facebook Settings###

  • Go to Developers facebook
  • Get Access token from Extended Permissions selecting publish_actions and from User Data Permissions selecting user_posts

##Development Purpose

sudo dnf install python-virtualenv
virtualenv venv
source venv/bin/activate
git clone https://github.com/trishnaguha/AutoShare.git
cd AutoShare
python setup.py install

##Local Server Setup

chmod +x runserver.sh
./runserver.sh

This will launch the application on localhost:8000

Follow Installation and Usage for development

autoshare's People

Contributors

trishnaguha avatar

Watchers

athiwatp avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.