MyBB.de Forum
Facebook Connect for MyBB - Druckversion

+- MyBB.de Forum (https://www.mybb.de/forum)
+-- Forum: Anpassungen (https://www.mybb.de/forum/forum-47.html)
+--- Forum: Plugin-Veröffentlichungen und -Support (https://www.mybb.de/forum/forum-82.html)
+--- Thema: Facebook Connect for MyBB (/thread-24182.html)

Seiten: Seiten: 1 2


Facebook Connect for MyBB - MyBB.de Bot - 24.11.2011

Eine neue Erweiterung wurde veröffentlicht: Facebook Connect for MyBB

Zitat:Features:
* People can register an account using Facebook
* They can choose a Username during registration
* Their emails are fetched during registration
* People whose Facebook Email matches a user in the database gets logged in automatically and their accounts are linked (configurable)
* Includes a language file for easy translation
* Plugin will not work if the language file is not up to date
* Hooks added for other plugins to complement. FBServices is one example of such plugin
* You can disallow users to choose usernames
* You can use cURL method to fetch data from Facebook
* Additional permissions can now be requested.
* New!!! Birthday is fetched from Facebook.
* New!!! Facebook avatar is set for existing users who don't have an avatar.
* New!!! Facebook birthday are fetched for existing users.

Installation instructions:
1. Get your Facebook application and secret by completing the form here
2. Install and activate the plugins FBCore and FBConnect
3. Go to AdminCP >> Configuration >> FBCore
4. Insert your Facebook Application number and secret
5. Insert "{$fbconnect}" (without quotes) anywhere you want in the header template to display the Facebook Connect button
6. Save

Vorschau:
http://khdra.com/



RE: Facebook Connect for MyBB - Simon - 15.01.2012

Hey,
das Plugin funktioniert, also man kann sich darüber einloggen...allerdings bekomme ich jedes mal per E-Mail einen Error zugeschickt....einer der beiden hier ist es hier:

Zitat:Your copy of MyBB running on KickAss (http://www.gilde-kickass.de) has experienced an error. Details of the error include:
---
Type: 2
File: fbcore/fbconnect.php (Line no. 55)
Message
file_get_contents(https://graph.facebook.com/oauth/access_token?client_id=329984720357148&amp;redirect_uri=http%3A%2F%2Fwww.gilde-kickass.de%2Ffbcore%2Ffbconnect.php&amp;client_secret=7845b4ee4dd24e46ccee235ac11fa70c&amp;code=) [<a href='function.file-get-contents'>function.file-get-contents</a>]: failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request

Zitat:Your copy of MyBB running on KickAss (http://www.gilde-kickass.de) has experienced an error. Details of the error include:
---
Type: 2
File: fbcore/fbconnect.php (Line no. 61)
Message
file_get_contents(https://graph.facebook.com/me?) [<a href='function.file-get-contents'>function.file-get-contents</a>]: failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request

hat jemand eine idee was ich dagegen machen kann?



RE: Facebook Connect for MyBB - StefanT - 15.01.2012

Bei dem ersten scheint irgendein Verifizierungs-Code zu fehlen.


RE: Facebook Connect for MyBB - Simon - 15.01.2012

ja da steht ja die weiterleitungs url fehlt, aber wo geb ich sowas an? oder wie soll ich das verstehen/was kann ich machen?


RE: Facebook Connect for MyBB - StefanT - 15.01.2012

Nein, da steht:
Zitat:{
"error": {
"message": "Invalid verification code format.",
"type": "OAuthException"
}
}



RE: Facebook Connect for MyBB - Simon - 15.01.2012

bei mir kommt wenn ichs aufruf:

Code:
{
   "error": {
      "message": "Missing redirect_uri parameter.",
      "type": "OAuthException"
   }
}

gut dass wir uns da einig sind xD


RE: Facebook Connect for MyBB - Simon - 15.01.2012

problem gelöst:
in den beiden zeilen vor "file_get_contents" ein "@" gesetzt


RE: Facebook Connect for MyBB - StefanT - 16.01.2012

Damit funktionieren die Abfragen doch immer noch nicht?


RE: Facebook Connect for MyBB - Simon - 16.01.2012

hm ja also ich bekomm jetzt keine fehlermeldung mehr, der login wenn man bereits einen account hat geht auch ohne probleme, nur das neue registrieren funktioniert iwie nicht richtig. also er holt sich zwar die daten, jedoch bekommt man eine 404 seite wenn man auf registrieren drückt. der account wird zwar trotzdem erstellt und man ist eingeloggt, aber hat nichmal nen passwort gewählt und die 404 seite ist schon iwie doof Big Grin was hast du denn noch für ideen stefan?


RE: Facebook Connect for MyBB - Simon - 16.01.2012

ein Passwort kann man ja auch nicht auswählen, was für nen Passwort bekommen solche Nutzer dann?