Viewing 7 replies - 1 through 7 (of 7 total)
  • If you are using twiter go with ftp to the plugin folder wordpress-social-login/hybridauth/Hybrid/Providers/ , open Twitter.php and change

    $this->api->api_base_url      = "https://api.twitter.com/1/";
    
    to
    
    $this->api->api_base_url      = "https://api.twitter.com/1.1/";
    Thread Starter Zachot

    (@zachot)

    wp-content/plugins/wordpress-social-login/hybridauth/Hybrid/Providers/Odnoklassniki.php

    line 145 (function getUserProfile())

    insert this
    
    $key_temp = ($this->config['keys']['key']) ? $this->config['keys']['key'] : 'PUBLIC KEY';
    
    and change 
    
    $sig = md5('application_key=' . $key_temp . 'method=users.getCurrentUser' . md5($this->api->access_token . $this->api->client_secret));
    $response = $this->api->api( '?application_key=' . $key_temp . '&method=users.getCurrentUser&sig=' .$sig);

    I made these changes and it worked.

    there is no field with public key in settings for ‘odnoklasniki.ru’

    Zachot can you please tell me if i add that line before or after line 145 (function getUserProfile())?

    thankyou

    Thread Starter Zachot

    (@zachot)

    after line 145 (after function start)

    ...
    function getUserProfile()
    {
      $key_temp = ($this->config['keys']['key']) ? $this->config['keys']['key'] : '************PUBLIC KEY**********';
      $sig = md5('application_key=' . $key_temp . 'method=users.getCurrentUser' . md5($this->api->access_token . $this->api->client_secret));
    ...

    @zachot thanx!!! it’s work for me!

    Hi, everyone.

    I have the same error with Odnoklassniki provider. I tryed to apply the same patch, but it doesn’t help. Are there any other troubleshooting steps available?

    Thanks in advance,
    Igor

    @t1gor you have added public key?

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Unspecified error. #6 odnoklassniki.ru’ is closed to new replies.