[orkut-developer] Support plan for OAuth 2.0

2011-04-04 Thread Sung won Cho
Dear All.
In orkut's documents, it said that the only way to authentication with OAuth 
is 2-legged OAuth is available.
If orkur has plan to support OAuth 2.0, plz let me know about it.

IF orkut already support, OAuth 2.0, can I know how should I fill scope of 
OAuth 2.0 request URI?

As a result, I want to get access token of orkut APIs using OAuth 2.0.

-- 
You received this message because you are subscribed to the Google Groups 
orkut Developer Forum group.
To post to this group, send email to opensocial-orkut@googlegroups.com.
To unsubscribe from this group, send email to 
opensocial-orkut+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/opensocial-orkut?hl=en.



[orkut-developer] Re: Orkut Share Button - Your client has issued a malformed or illegal request

2011-04-04 Thread Tulio Ornelas
Sorry for the lack of information. I did the share button with Javascript 
API.

google.load('orkut.share', '1');
google.setOnLoadCallback(function() {
  new google.orkut.share.Button({
lang: 'pt_BR',
style: google.orkut.share.Button.STYLE_REGULAR,
title: piche me,
summary: 'Acabei de deixar a minha marca no piche me',
thumbnail: http://piche.me/images/spray_off.png;
  }).draw('orkut-button');
}, true);

I already tried the version without the true value.

-- 
You received this message because you are subscribed to the Google Groups 
orkut Developer Forum group.
To post to this group, send email to opensocial-orkut@googlegroups.com.
To unsubscribe from this group, send email to 
opensocial-orkut+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/opensocial-orkut?hl=en.



[orkut-developer] Orkut suggesting me strange foreigners to add as friends

2011-04-04 Thread gnuvet
I am getting a parade of aliens as suggestion from Orkut. How can I make 
Friends Suggestion feature suggest 'friends'?

-- 
You received this message because you are subscribed to the Google Groups 
orkut Developer Forum group.
To post to this group, send email to opensocial-orkut@googlegroups.com.
To unsubscribe from this group, send email to 
opensocial-orkut+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/opensocial-orkut?hl=en.



Re: [orkut-developer] Re: messages.create

2011-04-04 Thread Allann Jones
Is possible to add support for simple ASCII emoticons on scraps? I
think a simple regex or a IF on scraps handling on the server side
just for these specific cases of Orkut emoticons set like [:)] [:D]
[;)] [:o] [:O] [:P] [8)] [/)] [:(] [:x] ...


Thank you.


On Sat, Apr 2, 2011 at 5:20 PM, Allann Jones allan...@gmail.com wrote:
 I am developing 3LO on embedded devices captcha is not so viable on
 some of it. I am not posting URLs, only single line with standard
 characters like:

 hello [:)] [;)] [:x] go home ...

 I think this is the minimal for single messages to get emoticons.


 Thank you very much for your response.



 On Sat, Apr 2, 2011 at 12:56 PM, Bruno Oliveira (btco)
 bru...@google.com wrote:
 Hello,
 You need to solve a captcha to post some content. The 3LO API may throw a
 captcha at you after any request, when it detects a usage pattern that
 requires that. For example, posting several requests in succession or
 posting requests with URL's are likely to trigger captchas.
 In this case, you must display the captcha image to the user, have him solve
 the captcha, and resubmit the request with the captcha solution.
 The captcha URL is included in the message (in this
 case, /social/pages/captcha?xid=1301692179602). And remember that you have
 to fetch this image with OAuth authentication (a simple HTTP fetch won't
 work).
 Thanks!

 --
 You received this message because you are subscribed to the Google Groups
 orkut Developer Forum group.
 To post to this group, send email to opensocial-orkut@googlegroups.com.
 To unsubscribe from this group, send email to
 opensocial-orkut+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/opensocial-orkut?hl=en.


-- 
--
Allann Jones

I received the fundamentals of my education in school, but that was
not enough. My real education, the superstructure, the details, the
true architecture, I got out of the public library. For an
impoverished child whose family could not afford to buy books, the
library was the open door to wonder and achievement, and I can never
be sufficiently grateful that I had the wit to charge through that
door and make the most of it. (from I. Asimov, 1994)

-- 
You received this message because you are subscribed to the Google Groups 
orkut Developer Forum group.
To post to this group, send email to opensocial-orkut@googlegroups.com.
To unsubscribe from this group, send email to 
opensocial-orkut+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/opensocial-orkut?hl=en.



[orkut-developer] Re: Found malicious content.....

2011-04-04 Thread Bruno Souza
Same here. 
Waiting for update.

-- 
You received this message because you are subscribed to the Google Groups 
orkut Developer Forum group.
To post to this group, send email to opensocial-orkut@googlegroups.com.
To unsubscribe from this group, send email to 
opensocial-orkut+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/opensocial-orkut?hl=en.



Re: [orkut-developer] Support plan for OAuth 2.0

2011-04-04 Thread Robson Dantas
Documentation is outdated.

Orkut allows you to connect using 3legged oauth. There are some libraries
available:

Java:
http://code.google.com/p/orkut-os-client

PHP
http://code.google.com/p/orkut-os-client-php

.NET
http://code.google.com/p/orkut-oauth-api-csharp/

There are lots of information over there.

Let us know if you have any doubt.

Best

Robson Dantas
@robsondantas

On Mon, Apr 4, 2011 at 3:56 AM, Sung won Cho ajou...@gmail.com wrote:

 Dear All.
 In orkut's documents, it said that the only way to authentication with
 OAuth is 2-legged OAuth is available.
 If orkur has plan to support OAuth 2.0, plz let me know about it.

 IF orkut already support, OAuth 2.0, can I know how should I fill scope
 of OAuth 2.0 request URI?

 As a result, I want to get access token of orkut APIs using OAuth 2.0.

  --
 You received this message because you are subscribed to the Google Groups
 orkut Developer Forum group.
 To post to this group, send email to opensocial-orkut@googlegroups.com.
 To unsubscribe from this group, send email to
 opensocial-orkut+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/opensocial-orkut?hl=en.


-- 
You received this message because you are subscribed to the Google Groups 
orkut Developer Forum group.
To post to this group, send email to opensocial-orkut@googlegroups.com.
To unsubscribe from this group, send email to 
opensocial-orkut+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/opensocial-orkut?hl=en.



Re: [orkut-developer] Auth basic problem

2011-04-04 Thread Robson Dantas
Are you using the 2legged-api for PHP ? If so, there is a bug when getting
tokens with space on it, which results problems when authenticating.

BTW, why not using 3legged ?

Best

Robson Dantas
@robsondantas

On Wed, Mar 30, 2011 at 2:57 PM, Roberto Scattini
robert...@metrogames.comwrote:

 hi all, i am triying to get my friends list with my app in orkut via REST,
 but osapi php client keeps giving errors like this:

 [INFO][Wed, 30 Mar 11 17:32:27 +] - HTTP Request [INFO][Wed, 30 Mar 11
 17:32:27 +] -

 *array*
   'url' = string 
 'http://sandbox.orkut.com/social/rpc?oauth_nonce=39ce3d04ae774905ad54c7c8f549c02doauth_version=1.0oauth_timestamp=1301506347oauth_consumer_key=orkut.com%3A734068883966xoauth_requestor_id=06064885595942683910oauth_body_hash=1NQPhQlfp5V%2BwCs1nb01%2BWj5VA8%3Doauth_signature_method=HMAC-SHA1oauth_signature=wSsIj4aUpg6pVMcfdzIFl1fnJ%2BY%3D'
  *(length=343)*
   'method' = string 'POST' *(length=4)*
   'body' = string 
 '[{method:people.get,params:{userId:[06064885595942683910],groupId:@self,fields:id,name},id:self}]'
  *(length=119)*
   'headers' =
 *array*
   0 = string 'Content-Type: application/json' *(length=30)*

 [INFO][Wed, 30 Mar 11 17:32:27 +] - HTTP Response [INFO][Wed, 30 Mar 11
 17:32:27 +] -

 *array*
   'http_code' = int 401
   'data' = string 'HTML
 HEAD
 TITLEOAuth Authentication FailureOAuth Authentication Failure/TITLE
 /HEAD
 BODY BGCOLOR=#FF TEXT=#00
 H1OAuth Authentication FailureOAuth Authentication Failure/H1
 H2Error 401/H2
 /BODY
 /HTML
 ' *(length=235)*
   'headers' =
 *array*
   0 = string 'Content-Type: application/json' *(length=30)*

 *
 *

 *
 *

 which could be the problem? my app is a game running inside orkut, and it
 is verified but not in testing nor published.
 the most annoying thing is that the samples packed with
 opensocial-php-client are running perfectly fine, but my app dont... :'(

 thanks in advance!!!


 Roberto

 --
 You received this message because you are subscribed to the Google Groups
 orkut Developer Forum group.
 To post to this group, send email to opensocial-orkut@googlegroups.com.
 To unsubscribe from this group, send email to
 opensocial-orkut+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/opensocial-orkut?hl=en.


-- 
You received this message because you are subscribed to the Google Groups 
orkut Developer Forum group.
To post to this group, send email to opensocial-orkut@googlegroups.com.
To unsubscribe from this group, send email to 
opensocial-orkut+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/opensocial-orkut?hl=en.



[orkut-developer] Re: Unable to send new apps

2011-04-04 Thread Bruno Oliveira (btco)
Are you using sandbox or prod sandbox?
Are you inserting the security token correctly in your file? Does your 
server cache the file? (if so, Orkut can't verify the security token, and 
will say 'No Donut For You').

-- 
You received this message because you are subscribed to the Google Groups 
orkut Developer Forum group.
To post to this group, send email to opensocial-orkut@googlegroups.com.
To unsubscribe from this group, send email to 
opensocial-orkut+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/opensocial-orkut?hl=en.



[orkut-developer] Re: Sandbox down? Prod sandbox to the rescue!

2011-04-04 Thread as
Hi Bruno,

So let's see what we have here.

1) That production sandbox address takes me to my profile (of course
it says pod sandbox in the browser).
This page as a link on the left side navigation bar that says APPS
GALLERY and on the top naviagtion bar has APPLICATIONS.

If you click on those links they'll take it to the apps directory
page.
In this page you can find on the left navigation bar the following
link SUBMIT YOUR APP.
When I click this link a new popup  window page opens up with the
title SUBMIT YOUR APP.

The only message that I've always got here is:
Submit failed. Please ensure that the gadget has title, description,
author email, thumbnail url, and screenshot url defined, that you are
an owner of the gadget, and that the gadget is not already submitted
to any google property.

I've always got this message, since you guys have created this form
last year. Plus I have seem lots of people posting about this issue.
Never got fix, at least for me.

2) So because I've never been able to submit my apps through this
form, I have been using this address:

http://www.orkut.com.br/Main#AppDirectorySubmit.aspx

But now even here I cannot get things done. I've only got:

There was a problem submitting your application.
Unable to retrieve message.

Like I said, I did test my xml file on my browser and I can perfectly
see it. So I do believe it wont be a problem for Google as well.

So from my point of view I might have been doing somenthing wrong, but
it's hard to say since Orkut it's not really reliable.

Could please take a look on this issue.

PS: Plus I cannot test my apps. If I click the EDIT button (on the
left navigation bar) it will take to the page:

http://www.orkut.com.br/Main#MyApps

But the box to add the app and tested, IT'S NOT THERE.
ITS GONE SINCE YOU GUYS HAVE LAUNCH THE NEW ORKUT

Thanks



On 1 abr, 17:53, Bruno Oliveira (\btco\) bru...@google.com
wrote:
 prod sandbox is working normally for me: I can add apps with no problems...

 Sorry if these are obvious troubleshooting hints but: are you sure the XML
 is visible on the public network? It doesn't work with internal IP's or
 addresses that can only be resolved internally on your network, for example.

 -
 Bruno Oliveira (Google)

-- 
You received this message because you are subscribed to the Google Groups 
orkut Developer Forum group.
To post to this group, send email to opensocial-orkut@googlegroups.com.
To unsubscribe from this group, send email to 
opensocial-orkut+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/opensocial-orkut?hl=en.



[orkut-developer] Unable to test my app

2011-04-04 Thread Jaialito
Hey all, I'm kind of new to opensocial, i have made a simple Hello World, 
you can check teh generated XML in the following URL: 
http://croatadev.dyndns.org:8008/blaving/orkut.php

http://croatadev.dyndns.org:8008/blaving/orkut.phpmy problem is that when 
i try adding it to orkut directory to test and start the real development of 
the application i get the following error: Submit failed. Please ensure that 
the gadget has title, description, author email, thumbnail url, and 
screenshot url defined, that you are an owner of the gadget, and that the 
gadget is not already submitted to any google property. 

any ideas what can i do?

thanks.

-- 
You received this message because you are subscribed to the Google Groups 
orkut Developer Forum group.
To post to this group, send email to opensocial-orkut@googlegroups.com.
To unsubscribe from this group, send email to 
opensocial-orkut+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/opensocial-orkut?hl=en.