• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.1 Facebook Login & 'Recommend'

OverHere

Active member
#1
I read http://xenforo.com/help/facebook/ and I have signed up to a new user FB account + a corresponding FB developer account but my dev can not find the '+ Set Up New App' button as advised in no. 2 at the above link?

There is no '+ Set Up New App' button at http://www.facebook.com/developers/apps.php? When I am logged in to the FB dev account and click this link it takes me to https://developers.facebook.com/?

So, where to find this and how to sort out FB log in feature + the Recommend feature?

Thanks.
 

Mike Edge

Well-known member
#7
I cant get to the page you illustrate - may I send you my FB log in info via private message so you can please take a look?

Thanks.
Sorry but account sharing is against the ToS and I have too many active apps to risk getting banned for breaking it.

Oh, I think I might know the issue your having. Did you add and verify a mobile phone yet? You need to either add a phone https://www.facebook.com/settings?tab=mobile and enter the text code you receive via your phone or add a credit card https://secure.facebook.com/settings?tab=payments and purchase with that credit card $5.00 in FB credits to verify it. Until you do one of these two, apps are locked.
 

OverHere

Active member
#8
Sorry but account sharing is against the ToS and I have too many active apps to risk getting banned for breaking it.

Oh, I think I might know the issue your having. Did you add and verify a mobile phone yet? You need to either add a phone https://www.facebook.com/settings?tab=mobile and enter the text code you receive via your phone or add a credit card https://secure.facebook.com/settings?tab=payments and purchase with that credit card $5.00 in FB credits to verify it. Until you do one of these two, apps are locked.
yes, when I registered as a dev on FB I did it via a phone number and then entered the code I got via a text. but at most it just takes me to this page:

fbh.jpg
 

Mike

XenForo developer
Staff member
#13
You have to be logged in as a FB user rather than a page. Otherwise, if you're struggling to create an app in Facebook, you would need to contact them.
 

Hoolio

Active member
#15
Xenforos own facebook log in asks for permission to post on your behalf, (but this can be skipped..)

How come my forums facebook log in asks for access to friend lists, public profile, email address, birthday, current city and websites?

Where do you un-tick all those scary options?

Thanks
 

Attachments

Hoolio

Active member
#17
We fond this in Xenforo code

library/XenForo/Helper/Facebook.php

Line 148:
public static function getFacebookRequestUrl($redirectUri, $appId = null, $state = null)
{
$perms = 'email,publish_stream,user_birthday,user_status,user_website,user_location';

Can we remove it?
 

Mike

XenForo developer
Staff member
#19
You're right - it's only in the code. Honestly, I'm not sure if you'd run into errors if you remove those. Obviously, our code is only expected to work with those settings.
 

Mike Edge

Well-known member
#20
You need to at least have $perms = 'email,publish_stream,user_birthday';

All facebook connections require auth to streams, the API will deny without it. You need e-mail and birthday as their are no fields in the register form via facebook for them.