Skip to content

OsirisS13/mitzbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 

Repository files navigation

mitzbot

Python 2.7 Script to collect Social Media Stats (Follwers/Likes) from Facebook, Instagram and Twitter for a specified page and store in a Google Sheet document

Requires the following non-stock libraries:

facebook

urllib

urlparse

subprocess

warnings

json

requests

bs4

Note the Facebook portion requires use of the Facebook Graph API, which requires an App ID and App secret to utilize. A Google API ouath login is also required. See https://support.google.com/googleapi/answer/6158857?hl=en

Setup:

Edit config.py with the Social Media page\s you want to check, your Facebook App ID and Secret, your Google Sheets Name and Worksheet, the and the columns to put data in. Place your Google Client Secret .json file somewhere and then update "secretfile" with the full path in the googlesheet update file.

Usage:

Run mitzbot.py [name of config file], for example "mitzbot.py config"

Note:

The Instagram function no longer will work due to Instagram deprecating their API as of early 2018

About

Script to collect Social Media Stats and store in Google Sheets

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages