E
E
eric_idle2016-06-29 14:19:32
Flask
eric_idle, 2016-06-29 14:19:32

Server application for auto-posting from VK to FB?

There is already a working script that makes copies of community posts from Vkontakte to the community's Facebook page. It works as a desktop application in which the user logs in to VK, presses the magic button, launching the script. The script every two hours through the API (using the vk python library) checks for the appearance of new vk posts, if a new one is found, it uploads it to FB. Enabling/disabling is implemented via QThreads from PyQt4, a signal/slot system.
I want to transfer the script to the web with the same ability to enable / disable its work through a web form. I refused PyQt4 (in connection with which I don’t really understand how to implement the correct start / stop). It is desirable to deploy on heroku.
In fact, you just need a page on the Internet with two buttons,
Can you please tell me how it is more correct and easier for me to implement this without PyQt? Do I understand correctly that the script will be able to work on Heroku's free hosting around the clock, and the page will not need to be constantly open?

I am using Flask.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
sim3x, 2016-06-29
@sim3x

write an application
Use https://devcenter.heroku.com/articles/scheduler

B
boligolov, 2016-06-30
@boligolov

you can pythonanywhere, fasten the flask with buttons there.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question