1. 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'

Discussion in 'XenForo Questions and Support' started by OverHere, Jun 27, 2013.

  1. OverHere

    OverHere Active Member

    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.
     
  2. OverHere

    OverHere Active Member

  3. The Forum Heroes

    The Forum Heroes Well-Known Member

  4. OverHere

    OverHere Active Member

    I went to that link and then logged in, it took me to the page you see below - please tell where to go thereon?

    thanks:

    fb11.jpg
     
  5. The Forum Heroes

    The Forum Heroes Well-Known Member

  6. OverHere

    OverHere Active Member

  7. The Forum Heroes

    The Forum Heroes Well-Known Member

    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.
     
  8. OverHere

    OverHere Active Member

    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
     
  9. The Forum Heroes

    The Forum Heroes Well-Known Member

    Try clicking on Apps in the blue header bar
     
  10. OverHere

    OverHere Active Member

    Odd, I tried this too but it just takes me to the first photo I added above!
     
  11. The Forum Heroes

    The Forum Heroes Well-Known Member

  12. OverHere

    OverHere Active Member

  13. Mike

    Mike XenForo Developer Staff Member

    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.
     
  14. OverHere

    OverHere Active Member

    Sorted, I used an old FB account
     
  15. Hoolio

    Hoolio Active Member

    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
     

    Attached Files:

  16. Brogan

    Brogan XenForo Moderator Staff Member

    That is all controlled by the Facebook App.
     
  17. Hoolio

    Hoolio Active Member

    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?
     
  18. Hoolio

    Hoolio Active Member

    There doesn't seem to be options for it within the facebook app

    Or have we got that wrong?
     
  19. Mike

    Mike XenForo Developer Staff Member

    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.
     
  20. The Forum Heroes

    The Forum Heroes Well-Known Member

    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.
     

Share This Page