ymkjp / opensocial-php-client

Automatically exported from code.google.com/p/opensocial-php-client
Apache License 2.0
0 stars 0 forks source link

Netlog provider does not (fully) support RPC #68

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
You can authenticate with netlog OAuth, but when you want to do a batch
execute like get persons info.

I get not authenticated error.

trunk or release 1.1.1

Fix:

remove the rpc url to ""

Original issue reported on code.google.com by maescool on 2 Dec 2009 at 12:34

GoogleCodeExporter commented 9 years ago
A fix is to add this to osapiNetlogProvider:

  public function preRequestProcess(&$request, &$method, &$url, &$headers, osapiAuth
&$signer) {
    if (method_exists($signer, 'setUseBodyHash')) {
      $signer->setUseBodyHash(true);
    }
  }

Original comment by joc...@netlog.com on 9 Dec 2009 at 9:47

GoogleCodeExporter commented 9 years ago
Fix seems to work.
Thanks!

Original comment by maescool on 9 Dec 2009 at 12:15