ymkjp / opensocial-php-client

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

Activety osapiError Not Found 404 #53

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
here is my code:

require_once 'osapi/osapi.php';

$site_id = "09656459882267377764";
$fcauth_token = $_COOKIE["fcauth" . $site_id];
$provider = new osapiFriendConnectProvider();
$auth = new osapiFCAuth($fcauth_token);
$osapi = new osapi($provider,$auth);

$osapi->setStrictMode(true);

$batch = $osapi->newBatch();

$friend_params = array(
 'userId' => '@me',
'groupId' => '@self',
'appId' => '@app', 
'count' => 10
);
$batch->add($osapi->activities->get($friend_params), 'a');
$addActivety = $batch->execute();
print_r($addActivety);

why output:
osapiError 
Not Found
404

pls help me,thks!

Original issue reported on code.google.com by groupbuy...@gmail.com on 20 Aug 2009 at 3:36

GoogleCodeExporter commented 9 years ago
Why Google rest end point http://www.google.com/friendconnect/pepole is correct.
I can get infomation of pepole, but I can't use the rest api of activety or the 
rest 
api of appdata.

Original comment by groupbuy...@gmail.com on 21 Aug 2009 at 1:58

GoogleCodeExporter commented 9 years ago
same here. Help would be apreciated.

404 when I try to read activity

400 ("BAD REQUEST : Your client has issued a malformed or illegal request.") 
when I
try to create activities. Did exaclty like all the examples on Internet (they're
simple enough).

No problem using the people part.

Original comment by aubert.b...@gmail.com on 4 Sep 2009 at 5:33

GoogleCodeExporter commented 9 years ago
same problem is happening over here. 404 not found error.please help

Original comment by loves2....@gmail.com on 9 Sep 2010 at 7:30