I'm still learning python. I sort of do it as I see a project that I might be interested in trying out to learn it.
What I want to do is this:
1-front end website with a simple window like a resizable widget in jquery or something that shows my facebook news feed 2. a similar window next to it that has a text box and post button, that when filled out will post to my facebook wall
I haven't looked into the python/facebook integration yet. I'm assuming there are examples using FB API and python packages and probably Oauth etc. I will do this shortly, but I'm trying to wrap my head around the overall flow.
If I create a website with the two widgets and host it on my own internal VM that can reach the internet. When I browse to it, how do I make it trigger the python code that would essentially prompt me to login and accept the app to view and post on my FB?
I'm assuming I can't just add a button that I press and it fires a python script off in the background, that seems to easy to exploit. Whats the proper method for making something like this work assuming I want to use a python backend for this?
Sorry if I'm way off, I'm trying to understand the overall flow before I try to write anything, or research the wrong stuff.
Aucun commentaire:
Enregistrer un commentaire