Skip to main content

Just another python script to automate boring stuff. Quote maker easy to create a quoted image and publish to a Facebook page.

Project description

Quote Maker

Just another python script to automate boring stuff. Quote maker easy to create a quoted image and publish to a Facebook page.

Depended Python libs

  • textwrap
  • PIL

Install by "pip3 install --upgrade -r requirements.txt" or "conan install --file requirements.txt"

Depended libs

* curl 7.52.1 (x86_64-pc-linux-gnu) 
* libcurl/7.52.1 
* OpenSSL/1.0.2l 
* zlib/1.2.8

Run

run the script by

$:python3.6 main.py
****************************************************************************************
​~~~ quote_maker.py ~~~
quote: Infinite love is the only truth. Everything else is illusion. David Icke

Output

Post to Facebook

To enable access of Facebook to publish, following variable has to be hardcoded to achieve.

page_id - facebook page ID, information can obtain from the page about. if you want to post on the personal wall

just hardcode page_id = "me".

facebook_token - facebook access token with publish_action enable. for more visit

Graph API explorer: https://developers.facebook.com/tools/explorer/145634995501895/

Please uncomment #os.system(command) in main.py

How to change image size?

image_size_x image_size_y responcible for image size.

Note: background colour is random, but the fourground colour is always white.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

quote_maker-0.0.1.tar.gz (143.3 kB view hashes)

Uploaded Source

Built Distribution

quote_maker-0.0.1-py2.py3-none-any.whl (34.5 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page