the article2video messenger bot
image : imagery : : news : newzery!
Convert any web article into a short video.
Video length of your choice.
End to end, send URL to the messenger bot, and get the video!
Assuming that advertising revenue is a reasonable proxy for attention, it turns out that humans like pictures more than text, and moving pictures most of all; so it has gone on the Internet.[source]
Clone this repository : git clone https://github.com/rohitner/newzery
.
Install the dependencies : pip install -r requirements.txt
.
Create a facebook page, add the messenger plugin to this page with your developer account to generate the access token. Save this token to ACCESS_TOKEN
environment variable.
Download the ngrok binary and run ./ngrok http 5000
Save a string of your choice as VERIFY_TOKEN
environment variable.
Run python bot.py
Configure the webhook: Enter the https URL of the ngrok forwarded port as the callback URL, and set verify token to the value in VERIFY_TOKEN
.
Let the callback URL be verified, and you are ready to roll.
👤 Rohit Ner