Resource icon

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

No permission to download
No matter what I try or do, I cannot get Google to work. I am lost on this myself.
I was having some issues with this as well, but I've got it 100% sorted.

I'd write a step by step but I'm going to presume you've already hit up https://code.google.com/apis/console/ and got the API access going and have a client ID for web applications defined whose settings need to be edited.

So, go to that console page -> API Access, where you have your current Client ID for web applications, hit "Edit settings..." from here, you need to ensure your Authorized Redirect URIs are all valid and entered. Here's mine:


http://yoursite.com/register/google
https://yoursite.com/register/google
http://yoursite.com/register/google?reg=1&assoc=1
https://yoursite.com/register/google?reg=1&assoc=1
http://yoursite.com/register/google?assoc=1
https://yoursite.com/register/google?assoc=1


I included HTTPS only cause I have some users who do browse with HTTPS as opposed to HTTP, but for most they will just need the following:
http://yoursite.com/register/google
http://yoursite.com/register/google?assoc=1

and I threw http://yoursite.com/register/google?reg=1&assoc=1 in there as well just to ensure I cover everything even though this particular link may not be used anywhere. After the redirect URIs were valid everything worked... from new account creations to associations with existing accounts. Hope this helps.
 
I've set up twitter but when I go to the My Account page I can see 3 links in the sidebar for 'Twitter integration'. Any idea why 3 are showing?
 
I was having some issues with this as well, but I've got it 100% sorted.

I'd write a step by step but I'm going to presume you've already hit up https://code.google.com/apis/console/ and got the API access going and have a client ID for web applications defined whose settings need to be edited.

So, go to that console page -> API Access, where you have your current Client ID for web applications, hit "Edit settings..." from here, you need to ensure your Authorized Redirect URIs are all valid and entered. Here's mine:


http://yoursite.com/register/google
https://yoursite.com/register/google
http://yoursite.com/register/google?reg=1&assoc=1
https://yoursite.com/register/google?reg=1&assoc=1
http://yoursite.com/register/google?assoc=1
https://yoursite.com/register/google?assoc=1


I included HTTPS only cause I have some users who do browse with HTTPS as opposed to HTTP, but for most they will just need the following:
http://yoursite.com/register/google
http://yoursite.com/register/google?assoc=1

and I threw http://yoursite.com/register/google?reg=1&assoc=1 in there as well just to ensure I cover everything even though this particular link may not be used anywhere. After the redirect URIs were valid everything worked... from new account creations to associations with existing accounts. Hope this helps.

That's a bad assumption. That's where most of us are stuck at. lol. The step before you laid out. What service do we select? So after we click that url and make a project ID.....what next??? How do we get to the part you've posted on. There's a step in the middle we're all missing.
 
I followed those instructions (as far as adding the redirects), and mine started working correctly.
 
Ya'll should start all over if your having issues. As in, create another google app.
 
I'm stuck here and I don't know what to click next. There's so many un-descriptive options:

fff.webp
 
I'm stuck here and I don't know what to click next. There's so many un-descriptive options:

qvmPp.png


8mHuI.png


THqTO.png


This will create a client ID for a web application for you, where you need to then edit the settings:
qloeR.png



Change the Authorized Redirect URIs to the following:
DxT1w.png


Include https if you offer SSL on your forums, otherwise the above is all you need.

Then just copy the client ID and client secret as shown under Client ID for web applications in the 2nd to last screenshot above, into the addon settings.

Don't think I left anything out, so that should be all you need to get it going.
 
Thanks lasertits! That did the trick, and it was a 1000% easier to understand then what I was facing :)

Did anyone ever figure out steam? I'm more interested in Yahoo and Disqus if anyone wants to expand. Really the more options you give a user the better.
 
Is it possible to create statistics of registered members across the Social Network in Admin CP Tools/Statistics?
 
Are these social authentication services known to be a bit hit & miss?

I've had this working on my site then users have said it's not working. I've tried the twitter one myself today and just been redirected to a page on my site that says "Authentication failed".

Tried a bit later though and it worked fine.
 
Hello, i have this error! :eek:
Any idea please ?

  1. Social_Manufacture::build() in XenForo/Model/AddOn.php at line 214
  2. XenForo_Model_AddOn->installAddOnXml() in XenForo/Model/AddOn.php at line 169
  3. XenForo_Model_AddOn->installAddOnXmlFromFile() in XenForo/ControllerAdmin/AddOn.php at line 178
  4. XenForo_ControllerAdmin_AddOn->actionInstall() in XenForo/FrontController.php at line 310
  5. XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 132
  6. XenForo_FrontController->run() in /var/www/vhosts/XXXX/httpdocs/admin.php at line 13
sa.webp
 
Okay. confirmed it wasn't a cache error now getting this error on association.

The controller XenForo_ControllerPublic_Register does not define an action called TwitterRegister.
 
I seem to be getting some weird errors:

Error when trying to associate with google:
Code:
Unable to Connect to ssl://accounts.google.com:443. Error #69210168: Unable to find the socket transport "ssl" - did you forget to enable it when you configured PHP?
While it's true that I don't have ssl enabled, but I was unaware this addon required SSL to be enabled for google integration to work

Error when trying to associate with twitter:
Code:
Zend_Oauth_Http->startRequestCycle() in Zend/Oauth/Http/RequestToken.php at line 51
Zend_Oauth_Http_RequestToken->execute() in Zend/Oauth/Consumer.php at line 115
Zend_Oauth_Consumer->getRequestToken() in Social/Provider/Oauth/Abstract.php at line 58
Social_Provider_Oauth_Abstract->getAuthorizeUrl() in Social/ControllerPublic/Register.php at line 34
Social_ControllerPublic_Register->_getProviderResponse() in Social/ControllerPublic/Register.php at line 389
Social_ControllerPublic_Register->actionTwitter() in XenForo/FrontController.php at line 310
XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 132
XenForo_FrontController->run() in /Users/tryk/Sites/arduard.com/index.php at line 13
Having read through the thread here, I've seen one mention of a similar error and no real solution was given other than "it's something to do with zend" so a little more help would be greatly appreciated :)
 
The add-on definitely does require SSL to be enabled for Google integration (and probably Twitter and the core Facebook features too). You need to enable SSL. Without it, these add-ons can't create secure SSL connections that these services require.

With regards to the Twitter error, I can only assume that's also SSL related. You've included the stack trace, but not the actual error message.
 
Back
Top Bottom