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

Social Network Authentication (Twitter, Google, VK.com) 1.0

Twitter, Google, VK.com Authentication

  1. guiltar

    guiltar Well-Known Member

    sweetpotato, Tize, DRE and 1 other person like this.
  2. Matthew2D

    Matthew2D Active Member

    Where do i find the google Client ID and Secret?
     
  3. bambua

    bambua Well-Known Member

    Just a quick question, can you pick and choose which ones are used?
     
  4. guiltar

    guiltar Well-Known Member

    Create new application and you will see it in API console https://code.google.com/apis/console
    You use only those social networks for which you set up Application Id.
     
  5. bambua

    bambua Well-Known Member

    Awesome thanks guiltar :D
     
  6. Adam Howard

    Adam Howard Well-Known Member

  7. Matthew2D

    Matthew2D Active Member

    All It says is the client ID. It doesn't say the client secret.
     
  8. Brandon Sheley

    Brandon Sheley Well-Known Member

    Nice idea, I'd want to remove vk.com or whatever that is, can we just use the google and twitter authentication?
    Also what email do the users use if they sign up through Twitter?
     
  9. guiltar

    guiltar Well-Known Member

    Unfortunately only half-working paypal now. I can recieve but can't pay until associate some credit card to it.
    screen.jpg

    VK.com won't appear if you don't specify its application id.
    Only configured networks appear.
     
    Brandon Sheley likes this.
  10. ragtek

    ragtek Guest

    oh
    you dind't include the librabry?:(
     
  11. guiltar

    guiltar Well-Known Member

    No, I was going to do it but there are couple things that stopped me.
    First, most of providers give basic user info without authorization. Library doesn't retrieve info such a way.
    It requires curl and some hosters disable it. The final reason was its structure: IDE doesn't recognize the code and sometimes library seems overcomplicated.

    That's why I decided to write own velocycle :)
    Indeed, there are 2 main protocols: Oauth1a and Oauth2. First one has all needed helpers in Zend Framework, second one is trivial.

    BTW, I would add LinkedIn and Yahoo if I have SSL on server.
    If somebody have and allow me to develop most LinkedIn and Yahoo will be added.
     
    duydangle and yavuz like this.
  12. ragtek

    ragtek Guest

    ok
    thx for info:)
     
  13. Tommy

    Tommy Member

    I get this error with the google app:
    This error with the twitter app:
    I have no idea if i have the right settings in the google application...

    Any help is much appreciated :eek:
     
  14. guiltar

    guiltar Well-Known Member

    Forgot, Google is very accurate with redirect uri. Type 2 uri:
    Code:
    http://example.com/register/google
    http://example.com/register/google?assoc=1
     
  15. Yoskaldyr

    Yoskaldyr Well-Known Member

    Enter redirect URL in application like this:
    google.jpg
     
    imspot and guiltar like this.
  16. Tommy

    Tommy Member

    I got it!! Thanks
    I got it, thanks! Great mod!! :)

    Now, what about the Twitter error?
     
  17. guiltar

    guiltar Well-Known Member

    As for twitter it seems that you created wrong type of application.
    It's not desktop application. It should be server application.
    Try to create it here https://dev.twitter.com/apps/new
     
  18. Tommy

    Tommy Member

    Dang! Now it's all good, thank you!! :D
     
    guiltar likes this.
  19. Gopala Subramanium

    Gopala Subramanium Active Member

    Great Stuff Sir...i found two bugs

    (i) Login Buttons not visible [screenshot]
    (ii) I already had twitter, as per the instruction i proceeded without uninstalling, i'm getting error when checking twitter integration on profile page

    Thanks once again :) and hope to see these fixed soon...
     

    Attached Files:

    guiltar likes this.
  20. Volion

    Volion Active Member

    After installing this app, Twitter Integration is still in the options. I thought it was supposed to uninstall the Twitter auth?

    Also I am now getting this when I try to associate, everything worked before installing Social Network Authentication.

    array_merge() [function.array-merge]: Argument #2 is not an array
    1. XenForo_Application::handlePhpError() in Social/ControllerPublic/Account.php at line 47
    2. Social_ControllerPublic_Account->_getProviderResponse() in Social/ControllerPublic/Account.php at line 95
    3. Social_ControllerPublic_Account->actionTwitter() in XenForo/FrontController.php at line 310
    4. XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 132
    5. XenForo_FrontController->run() in /public_html/index.php at line 13
     
    guiltar likes this.

Share This Page