[OpenSocial] Different include_once, require_once PHP

2009-07-20 Thread gilbert savier
Hi proficient, Could an anybody give a description of different between include_once, require_once in PHP with An Example program, an already I have search this but I can’t take that example so anybody tell description to me for this question. Thanks

[OpenSocial] Permission denied while accessing activities through client libraries

2009-07-20 Thread abhishek
Im trying to access my and my friends' activities through php client libraries. Im getting error 401. unauthorized: Get activity permission denied $provider = new osapiOrkutProvider(); $auth = new osapiOAuth2Legged(OAuth Consumer Key, OAuth Consumer Secret); $osapi = new osapi($provider,

[OpenSocial] Re: Different include_once, require_once PHP

2009-07-20 Thread Chris Chabot
On Mon, Jul 20, 2009 at 10:06 AM, gilbert savier gilbertsav...@gmail.comwrote: Hi proficient, Could an anybody give a description of different between include_once, require_once in PHP with An Example program, an already I have search this but I can’t take that example so anybody tell

[OpenSocial] Re: Permission denied while accessing activities through client libraries

2009-07-20 Thread Chris Chabot
Hey Abhishek, I'm affraid that Orkut doesn't support fetching and creating activities through their RESTful API's, so the error your getting is not due to your code (though I admit it's a confusing error message) Oh and another thing to note is that you're using 2 legged OAuth, which means you

[OpenSocial] Re: Permission denied while accessing activities through client libraries

2009-07-20 Thread abhishek
Thnx Chris, Ya u r right but now when i have added my uid in the authentication im still getting the same error. I also have the application installed. And orkut only supports 2legged authentication. So, do u want to say that what i m trying to do can't be done. On Jul 20, 6:01 am, Chris Chabot

[OpenSocial] Re: Permission denied while accessing activities through client libraries

2009-07-20 Thread Scott Seely
If one uses @me, then they need to include the xoauth_requestor_id in the query string (which would be a real user ID). That should work. From: opensocial-api@googlegroups.com [mailto:opensocial-...@googlegroups.com] On Behalf Of Chris Chabot Sent: Monday, July 20, 2009 3:02 AM To:

[OpenSocial] Re: Permission denied while accessing activities through client libraries

2009-07-20 Thread Chris Chabot
On Mon, Jul 20, 2009 at 1:31 PM, abhishek abhinow.abhis...@gmail.comwrote: Thnx Chris, Ya u r right but now when i have added my uid in the authentication im still getting the same error. I also have the application installed. And orkut only supports 2legged authentication. So, do u want to