OAuth2 Facebook Service: Unterschied zwischen den Versionen

Wechseln zu: Navigation, Suche

Hinweis: Sie sind auf den Seiten der Moodle 3.3 Dokumentation. Die Dokumentation der aktuellsten Moodle-Version finden Sie hier: OAuth2 Facebook Service.

Zeile 6: Zeile 6:
 
Um einen OAuth2 Client für Facebook aufzusetzen, gehen Sie folgendermaßen vor:
 
Um einen OAuth2 Client für Facebook aufzusetzen, gehen Sie folgendermaßen vor:
 
*Melden Sie sich auf der Seite [https://developers.facebook.com/apps Facebook for Developers Apps] an und Klicken Sie den Button ''Add a New App''.
 
*Melden Sie sich auf der Seite [https://developers.facebook.com/apps Facebook for Developers Apps] an und Klicken Sie den Button ''Add a New App''.
:[[File:facebook-1-new-app.png|300px]]
+
:[[File:facebook-1-new-app.png|400px]]
 
* Enter a name and contact email and click the button 'Create App ID'.
 
* Enter a name and contact email and click the button 'Create App ID'.
:[[File:facebook-2-name.png|300px]]
+
:[[File:facebook-2-name.png|400px]]
 
*Click Settings on the left, then add an app icon and URLs as desired, choose a category e.g. Education then click the button 'Save Changes'.
 
*Click Settings on the left, then add an app icon and URLs as desired, choose a category e.g. Education then click the button 'Save Changes'.
:[[File:facebook-3-basic-settings.png|300px]]
+
:[[File:facebook-3-basic-settings.png|400px]]
 
*Click the link '+Add Product' on the left then for 'Facebook Login' click the button 'Get Started'.
 
*Click the link '+Add Product' on the left then for 'Facebook Login' click the button 'Get Started'.
:[[File:facebook-4-add-product.png|300px]]
+
:[[File:facebook-4-add-product.png|400px]]
:[[File:facebook-login.png|300px]]
+
:[[File:facebook-login.png|400px]]
 
*Click Web, then enter your site URL and click Save.
 
*Click Web, then enter your site URL and click Save.
:[[File:facebook-webapp-wizard.png|300px]]
+
:[[File:facebook-webapp-wizard.png|400px]]
 
*Click Settings under 'Facebook Login' on the left, then configure the Client OAuth Settings as follows: Set Web OAuth Login to Yes and everything else to No (for security). Enter the callback URL to "your site url + /admin/oauth2callback.php" e.g. <nowiki>https://lemon.edu/admin/oauth2callback.php</nowiki>. then click the button 'Save Changes'.
 
*Click Settings under 'Facebook Login' on the left, then configure the Client OAuth Settings as follows: Set Web OAuth Login to Yes and everything else to No (for security). Enter the callback URL to "your site url + /admin/oauth2callback.php" e.g. <nowiki>https://lemon.edu/admin/oauth2callback.php</nowiki>. then click the button 'Save Changes'.
:[[File:facebook-5-oauth-settings-v2.png|300px]]
+
:[[File:facebook-5-oauth-settings-v2.png|400px]]
 
* Click 'App Review' on the left, then click to make your app public.
 
* Click 'App Review' on the left, then click to make your app public.
:[[File:facebook-6-public.png|300px]]
+
:[[File:facebook-6-public.png|400px]]
 
*Finally, click Dashboard on the left,  get the App ID and App Secret and enter them in Moodle as the client ID and secret.
 
*Finally, click Dashboard on the left,  get the App ID and App Secret and enter them in Moodle as the client ID and secret.
:[[File:facebook_7_app_id_and_secret.png|300px]]
+
:[[File:facebook_7_app_id_and_secret.png|400px]]
  
 
[[en:OAuth 2 Facebook service]]
 
[[en:OAuth 2 Facebook service]]

Version vom 19. Juni 2017, 07:59 Uhr

Baustelle.png Diese Seite ist noch nicht vollständig übersetzt.


Neue Funktionalität
in Moodle 3.3!


Um einen OAuth2 Client für Facebook aufzusetzen, gehen Sie folgendermaßen vor:

facebook-1-new-app.png
  • Enter a name and contact email and click the button 'Create App ID'.
facebook-2-name.png
  • Click Settings on the left, then add an app icon and URLs as desired, choose a category e.g. Education then click the button 'Save Changes'.
facebook-3-basic-settings.png
  • Click the link '+Add Product' on the left then for 'Facebook Login' click the button 'Get Started'.
facebook-4-add-product.png
facebook-login.png
  • Click Web, then enter your site URL and click Save.
facebook-webapp-wizard.png
  • Click Settings under 'Facebook Login' on the left, then configure the Client OAuth Settings as follows: Set Web OAuth Login to Yes and everything else to No (for security). Enter the callback URL to "your site url + /admin/oauth2callback.php" e.g. https://lemon.edu/admin/oauth2callback.php. then click the button 'Save Changes'.
facebook-5-oauth-settings-v2.png
  • Click 'App Review' on the left, then click to make your app public.
facebook-6-public.png
  • Finally, click Dashboard on the left, get the App ID and App Secret and enter them in Moodle as the client ID and secret.
facebook 7 app id and secret.png