Information specific activities and scrap

3 views
Skip to first unread message

Antonio Carlos Carolino Junior

unread,
Sep 22, 2011, 11:12:32 PM9/22/11
to orkut-php-client
Hello Guys,

I'm making a website that will have a timeline similar to Orkut. I did some tests and found the list_scrap ods using the following parameters to get the updates of the timeline:

$ msg = array ('method' => 'activities.get'
                  'params' => array ('userId' => array ("@ me"), 'groupId' => '@ all', 'activity' => array ("title" => "activity title", "body" => "activity body"), 'appId' => "@ app"), "id" => "activity");

What I wonder is what are the other parameters of activity and groupId?

I also see that I can not access the array by array foreach because it seems that the json returned is a string?

Thank you for your attention.

Regards,


Antonio Carlos Carolino Junior

(019)88185867 ou (019)97085867


Robson Dantas

unread,
Sep 25, 2011, 9:54:43 PM9/25/11
to orkut-ph...@googlegroups.com
Can you please post the json you are getting ? to access as an array you must convert it using json_decode(json).

Best

Robson Dantas
@robsondantas
Reply all
Reply to author
Forward
0 new messages