Forum de l'Alliance 972 Index du Forum Forum de l'Alliance 972
Forum de l'Alliance 972 (serveur S3 Français)
 
 FAQFAQ   RechercherRechercher   MembresMembres   GroupesGroupes   S’enregistrerS’enregistrer 
 ProfilProfil   Se connecter pour vérifier ses messages privésSe connecter pour vérifier ses messages privés   ConnexionConnexion 

Facebook App Post As User

 
Poster un nouveau sujet   Répondre au sujet    Forum de l'Alliance 972 Index du Forum -> Partie Publique -> Candidatures pour le serveur 6
Sujet précédent :: Sujet suivant  
Auteur Message
vitzosi


Hors ligne

Inscrit le: 05 Mai 2016
Messages: 99
Localisation: Nice

MessagePosté le: Mar 9 Jan - 19:48 (2018)    Sujet du message: Facebook App Post As User Répondre en citant




Facebook App Post As User
> DOWNLOAD










Keep the console open in one tab, and open the Dashboard up in another (eg, by Ctrl+clicking the PythonAnywhere logo at the top of the page) Then go to Files. In the Files browser, open mysite/myapp, and create a New directory called templates. cd mysite python manage.py startapp myapp . In the meantime, find out more here:. There is no why.", "The universe is a big place, perhaps the biggest.", "Tiger got to hunt, bird got to fly; Man got to sit and wonder, 'Why, why, why?' Tiger got to sleep, bird got to land; Man got to tell himself he understand.", "If people think nature is their friend, then they sure don't need an enemy.", "We could have saved the Earth but we were too damned cheap.", "That is my principal objection to life, I think: It's too easy, when alive, to make perfectly horrible mistakes.", "All persons, living and dead, are purely coincidental.", "So it goes.", ] canvasonly def home(request): me = request.facebook.graph.getobject('me') accesstoken = request.facebook.graph.accesstoken quote = random.choice(QUOTES) return render(request, 'home.html', {'me': me, 'accesstoken': accesstoken, 'quote': quote}) def updatestatus(request): quote = request.POST['quote'] accesstoken = request.POST['accesstoken'] graph = facebook.GraphAPI(accesstoken) graph.putobject("me", "feed", message=quote) return render(request, 'alldone.html') . ToolsGraph API ExplorerOpen Graph DebuggerObject BrowserJavaScript Test ConsoleAPI Upgrade ToolFacebook Analytics. Let's edit that now, in New file called mysite/myapp/templates/alldone.html:. At this point your app should be ready! You just need to go back to the Web tab and hit Reload Web App, and you should be able to and open up your app, and see the quote of the day. –Andrew Mar 14 '12 at 0:25 add a comment up vote 1 down vote you are authorizing the app with your users credentials as you said, right? That's why your posts are created by that user. You can see that the home page now wants a quote object that it can show the user. To configure the djangofacebook package, we need to add a few things to mysite/settings.py. You'll find some breadcrumbs links at the top, which you can Ctrl-Click or to open up the grandparent folder, myapp. –Shreeni Mar 13 '12 at 4:08 add a comment 4 Answers 4 active oldest votes up vote 3 down vote accepted It's not possible to post on the user's wall as app or page. 'PASSWORD': '', # Not used with sqlite3. This will spit out some output and ask you some questions. All you need is your web browser!. Let's start by opening up a Bash console on the Consoles tab, and starting a new app inside our django project:. Let's build a view to pass that in. The first thing to do is some config on Facebook:. This alongside the FacebookMiddleware that we added to settings.py earlier takes care of magically adding the request.facebook.graph attribute, which we can then use to access the Facebook Graph API. The default name, mysite, is fine. And use from and to payload to facebook api. Then, hit Continue . Not used with sqlite3. Jump toSections of this pageAccessibility HelpPress alt + / to open this menuRemoveTo help personalize content, tailor and measure ads, and provide a safer experience, we use cookies. Stack Overflow Questions Developer Jobs Tags Users current community help chat Stack Overflow Meta Stack Overflow your communities Sign up or log in to customize your list. SupportPlatform StatusDevelopers GroupMarketing PartnersBugs.. It's back! Take the 2018 Developer Survey today . You can interact with it in Python using the facebook module, and from Javascript using Facebook's own SDK (djangofacebook has some help with this - more on that later). The updatestatus view then gets that access token and the quote out of the form submission. Whatever you wanted.it isn't here 5a02188284
profile viewer application of facebookhttp proxy 007 facebook hack v 1.0sign up for poshmark without facebookfacebook chat download for nokia 7610facebook update plugindownload facebook cho nokia lumia 520how to crop a picture on facebook without losing likesfacebook demon crackdownload free birthday cards to facebookfacebook chat download pc


Revenir en haut
Publicité






MessagePosté le: Mar 9 Jan - 19:48 (2018)    Sujet du message: Publicité

PublicitéSupprimer les publicités ?
Revenir en haut
Montrer les messages depuis:   
Poster un nouveau sujet   Répondre au sujet    Forum de l'Alliance 972 Index du Forum -> Partie Publique -> Candidatures pour le serveur 6 Toutes les heures sont au format GMT + 1 Heure
Page 1 sur 1

 
Sauter vers:  

Index | Panneau d’administration | créer un forum | Forum gratuit d’entraide | Annuaire des forums gratuits | Signaler une violation | Conditions générales d'utilisation
Powered by phpBB © 2001, 2018 phpBB Group
Traduction par : phpBB-fr.com
subLight v2.0 by WeboManiac