Re: [orkut-developer] Re: Captcha and scraps
Some time ago I developed a php library which allows you to send scraps. There is a scrapall app to show you some demo code, and it handles captcha. See: http://code.google.com/p/orkut-os-client-php/ -- Robson Dantas @robsondantas On Mon, Apr 9, 2012 at 2:03 PM, Bruno Oliveira (Google) brunooliveira9876543...@gmail.com wrote: Oops, I forgot to add this link, which may be useful: https://developers.google.com/orkut/docs/off-site-apps/clientlib/errors If you want look at a real-life implementation example, you can look at the code for submitBatchWithCaptcha() on the OrkutAdapter class, in the Orkut Client Library Source Code http://code.google.com/p/orkut-os-client/. - Bruno Oliveira (Google) On Monday, April 9, 2012 2:00:42 PM UTC-3, Bruno Oliveira (Google) wrote: Hello! This is not an error, this is a captcha challenge. Some requests on Orkut require the user to solve a captcha so that we know the user is an actual human and not an evil robot. This is essential in our fight against spam. So, when you receive a captcha challenge like this one, the correct course of action is to show the captcha to the user and ask them to solve it. Then you should resubmit your request with the captcha solution. - Bruno Oliveira (Google) On Monday, April 9, 2012 3:13:14 AM UTC-3, Кирилл Совкуцан wrote: Good day, everyone. When i try post scrap without any url, it posts well. But when i try to post any url, i have an error {error:{message:**unauthorized: Please enter the text as it is shown in the box.,data:{errorType:** requiresCaptcha,captchaUrl:**/social/pages/captcha?xid=** 1333951789263,captchaToken:**token1333951789263},code:**401}} I read at this group, that i need to request captcha using Oauth When i try, i have 404 error This is my code $params = array( 'oauth_nonce' = md5(time()) , 'oauth_version1.0' , 'oauth_timestamp' = time() , 'oauth_consumer_key' = CONSUMER_KEY', 'oauth_token' ='TOKEN', 'oauth_signature_method' = 'HMAC-SHA1' ); $signature = $this-build_orkut_signature($**params, 'CONSUMER_SECRET', false), 2); $params['oauth_signature'] = $signature; $client = $token-getHttpClient($this-** getProviderConfig('orkut')); $client-setUri('http://www.**orkut.comhttp://www.orkut.com '.$content-error-**data-captchaUrl); $client-setMethod(Zend_Http_**Client::GET); $client-setParameterGet($**params); $client-setHeaders('Content-**type', 'application/json'); $response = $client-request(); Can anybody help me? Thanks. -- You received this message because you are subscribed to the Google Groups orkut Developer Forum group. To view this discussion on the web visit https://groups.google.com/d/msg/opensocial-orkut/-/zUc2zb66pCcJ. 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] Post Scrap - Question Marks
Hi! Which encoding are you using to send data ? Utf-8 ? Best -- Robson Dantas @robsondantas On Fri, Jul 8, 2011 at 9:45 AM, dvasilakis dvasilaki...@gmail.com wrote: If i post a scap containing non latin character like greek or arabian characters the result is that characters are replaced with question marks. -- 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] orkut id
Give more context. Where are you planning to use that ? Redirecting user to a profile page ? -- Robson Dantas @robsondantas On Thu, Jul 7, 2011 at 11:04 AM, dvasilakis dvasilaki...@gmail.com wrote: Hi, i would like to ask if there is way to use uid with orkut java api instead of pid. If not how could i convert uid to pid ?? -- 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] upload photo
Hi! Have you tried uploading a photo using the java version ? Don't remember if it was working properly. When was creating the php version, used a packet sniffer to monitor requests. Maybe it is something you can do. I need to add photo upload support. Will check how I can help you. Best -- Robson Dantas @robsondantas Sent from my mobile device Em 01/07/2011, às 05:06, dvasilakis dvasilaki...@gmail.com escreveu: Hi, i work with C# and i am trying to upload a photo with 3-legged API. Reading the java code i cannot understand how the upload process work. 1) json data in which part of the request will exist?? i tried to put json data in request headers like request.headers.add(request,jsonData) and Content-Disposition: form-data; name= request \r\n\r\njsonData; with no success 2) image data could be in byte[] instead of sbyte[]?? -- 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] Photo comments activity
There is an odd bug. Uploading photos or commenting issues the same PHOTO activity. That is why you can't get this data. Apps can't distinguish when a comment is posted. Someone from Google can help on this ? Bruno ? Tiago? Best -- Robson Dantas @robsondantas Sent from my mobile device Em 06/07/2011, às 03:58, andrew.grigoruk andrew.grigo...@gmail.com escreveu: Hi, I am developing offsite application for Orkut and found that my app doesn't get neither Photo Comments activity nor comments for the photos with Photo activity - is this possible to implement with Orkut offsite API or there is some other approach to get comments for photos? Thanks, Andrew -- 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] Problem: loading external javascript classes
On example 2, use var stg_run = function(url) . var is missing. Inner scope has this weird stuff. You can also open chrome console and check the object. You will note that this variable didn't bind any object. -- Robson Dantas @robsondantas Sent from my mobile device Em 23/06/2011, às 17:03, de...@chuwori.co.uk de...@chuwori.co.uk escreveu: Could somebody please tell me why example 1 works and example 2 doesn't. Correct code would be appreciated. Thanks in advance. I've included the contents of 2 external javascript files. Example 1 is called from my gadget with: emouseatlas.emap.stg_run(my url); This works OK. Example 2 is called from another gadget with: emouseatlas.emap.RunMe.stg_run(my url); This does NOT work. I get the error: emouseatlas.emap.RunMe is undefined = Example 1: if(!emouseatlas) { var emouseatlas = {}; } if(!emouseatlas.emap) { emouseatlas.emap = {}; } emouseatlas.emap.stg_run = function(url) { var _debug=true; //output to firebug if(_debug) { console.log(inner scope stg_run %s,url); } };//end stg_run Example 2 if(!emouseatlas) { var emouseatlas = {}; } if(!emouseatlas.emap) { emouseatlas.emap = {}; } emouseatlas.emap.RunMe = function() { var _debug=true; stg_run = function(url) { //output to firebug if(_debug) { console.log(inner scope stg_run %s,url); } };//end stg_run }();//end RunMe === -- You received this message because you are subscribed to the Google Groups orkut Developer Forum group. To view this discussion on the web visit https://groups.google.com/d/msg/opensocial-orkut/-/hq3EtahoacQJ. 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] How to replies to a Scrap?
Hi! You need two things: 1- Get the scrapid, in order to reply; 2- Add a parameter to scrapActivity called msgId; Looking the class WriteScrapTx.java, it is possible to reply a scrap, there is a contructor available, see: WriteScrapTx(String personId, String body, String scrapId) { this(personId, body); request.addParameter(Params.MSG_ID, scrapId); } And also, ScrapTxFactory has a method to reply a scrap, see: public WriteScrapTx replyToScrap(String userId, String scrapId, String body) { return new WriteScrapTx(userId, body, scrapId); } Are you using the latest version ? http://code.google.com/p/orkut-os-client/source/browse/java/src/com/google/orkut/client/api/ScrapTxFactory.java#87 Best -- Robson Dantas @robsondantas On Fri, Jun 24, 2011 at 9:24 AM, a.bellav...@opentecheng.com a.bellav...@opentecheng.com wrote: Hi all, I'm using Orkut-os-client. I can't find a way to get the replies of a Scrap, and also it's impossible to reply to a Scrap. Searching on the web, I've found that the class ScrapActivity can do this, but I can't konw how. I use ScrapTxFactory to get, delete and write scraps, but there's not any method named replyToScrap. How can I perform this task? -- You received this message because you are subscribed to the Google Groups orkut Developer Forum group. To view this discussion on the web visit https://groups.google.com/d/msg/opensocial-orkut/-/bytYicXgaxAJ. 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] Getting 405 Method Not Allowed error on POST request.. Please help.
Hi ! There is a bug on php-curl when specifying CURL_CUSTOMREQUEST. What you have to do in this case is removing this line on orkut-3legged.php: curl_setopt($ch, CURLOPT_CUSTOMREQUEST, $method); Most servers people in India use, like hostgator, have this bug. Give it a try and let me know. Robson Dantas @robsondantas On Sun, Jun 12, 2011 at 1:13 AM, Aditya Hajare adity...@gmail.com wrote: I am using orkut osapi PHP client library... i did not changed anything in it yet.. just specified required credentials in global.php and tried to test the client.. At first, it was giving me Content-Length header is missing error.. I fixed it by manually adding Content-Length: 0 header in it's send() function which makes the CURL calls... Now it is giving me 405 Method Not Allowed error... Bellow is the POST request response i have received : [http_code] = 405 [data] = HTTP/1.1 405 Method Not Allowed Content-Type: text/html; charset=UTF-8 Content-Length: 12463 Date: Sun, 12 Jun 2011 04:10:35 GMT Server: GFE/2.0 I am using orkut php client library located at : * http://code.google.com/p/orkut-os-client-php/downloads/list*http://code.google.com/p/orkut-os-client-php/downloads/list If someone knows what's going wrong in there, please let me know..!! Regards Aditya Hajare -- You received this message because you are subscribed to the Google Groups orkut Developer Forum group. To view this discussion on the web visit https://groups.google.com/d/msg/opensocial-orkut/-/lQtbgAFC_7IJ. 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] Launching OrkutDevBox (code playground for developers)
Very good Bruno! The old Opensocial Dev App (developed by Prashant, I think) was completely outdated and not working properly. One thing that I was always trying to do is creating sample codes with common features, helping beginners starting. Looking forward to new things coming, and as always, if you need any help, let me know. Best Robson Dantas @robsondantas On Wed, May 25, 2011 at 8:30 PM, Bruno Oliveira (btco) bru...@google.comwrote: Hi developers, * * We are constantly working to make OpenSocial code development easier. One of the things we were missing was a live code playground with Orkut-specific snippets and samples. So I'd like to announce* *our new OpenSocial code playground app, *OrkutDevBoxhttp://www.orkut.com/Application?appId=876096229684 *, launching today. More information below. * * http://www.orkut.com/Main#Application?appId=876096229684 *What is *OrkutDevBox*?* OrkutDevBox is an OpenSocial code playground for Orkut. It allows developers to write and test OpenSocial snippets on the fly to experiment with Orkut's API without having to go through the edit-upload-test cycle. Main highlights: - run code with one click - runs code against the live Orkut environment: prod, prod-sandbox and sandbox - console to output debug messages - supports on-the-fly creation of HTML interfaces - code samples for most important Orkut features available with 1 click - (total of 15 Orkut samples integrated into app) - often-used OpenSocial code snippets can be picked from a list and directly inserted into code *What Samples are available? * The following samples are available in the application: 1. Show Viewer and Owner Names 2. Show Viewer Info 3. List 20 Friends 4. List 20 Friends with Pictures 5. List All Friends 6. AppData Load and Save 7. Posting an Activity 8. Posting an Activity with Modal Notification 9. Send Private Message 10. Requesting Data From Remote Servers 11. Listing Albums 12. Creating Album 13. Update Albums 14. Mosaic with All Photos 15. Handling Errors *Didn't we already have a code playground (OpenSocial DevApp)?* Yes. But OrkutDevBox is developed by the Orkut team and is focused on Orkut and comes with Orkut-specific features and sample code. Also, it has some unique features such as the ability to insert often-used OpenSocial snippets from a snippets pallete, and, apart from Javascript, it can also run HTML UIs created on the fly. * * *Do I have to be on Sandbox to use OrkutDevBox?* OrkutDevBox works in production, prod sandbox and sandbox, so you can test your code against any of those environments. *How do I install it?* You can install OrkutDevBoxhttp://www.orkut.com/Application?appId=876096229684like any other orkut app. * * *Does it save my code? * No, it does not. It is intended to be used to write quick experimental snippets, not to write full applications, but you can of course copy and paste your code and save elsewhere. We hope you like this app. Feel free to send any feedback! Thank you! - 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. -- 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] content type url
Proxied content (e.g content type='url') will not allow you to make javascript calls. Basically, what you have done is creating an iframe inside Orkut. In order to do that, you need to create all the code inside the xml specification. A small example (some brazilian portuguese inside): http://www.opensocial-br.org/exemplo/opensocialbr.xml http://www.opensocial-br.org/exemplo/opensocialbr.xmlBest Robson Dantas @robsondantas On Mon, May 23, 2011 at 4:51 AM, ashcsi ashcsi ashcsi1...@gmail.com wrote: Hello All, I have added a gadget with content type=url and the url points to a php page. But I am not able to make any calls to orkut javascript client api. How do I include the orkut javascript client library as well in my gadget? thanks ashy -- 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] IMPORTANT: Name Collision Protection launching! Don't change the title of your app!
Thanks, this is really useful to fight scammers/spammers, etc. Let´s see in practice how it goes, and hope not seeing good apps getting kicked out from the directory :-) Best Robson Dantas @robsondantas On Mon, May 2, 2011 at 7:31 PM, Bruno Oliveira (btco) bru...@google.comwrote: *TL;DR Summary of this post, if you are in a hurry:* *Good news:* your application is now under increased protection against malicious apps! *Caveats:* Don't change the title of your application. Any title changes will trigger the new name collision prevention algorithm, and if your new title is found to collide with another existing application, your application will be removed immediately. Attention Developers: Starting Friday (May 6), we will start enforcing our brand-new *name clash protection* for live applications. Please read the information below to make sure you do not accidentally cause your application to be removed without notice. *Name Collision Protection* * * *1. How does it work?* * * Whenever an application changes its title, in any languages, our automatic application reviewer (AppReviewer) will now test the new titles against all other live applications in our database. If it detects a name collision, the application whose title changed *will be taken down immediately and without any human review or prior notification*. *2. Why are you doing this?* * * We're doing this in order to protect live applications from malicious apps that change their names in order to confuse users. This new algorithm will catch any live applications that change their names in a way that conflicts with the name of a live application. This means your legitimate application now enjoys increased protection, since fake applications will have a hard time copying your name! *3. Can you give an example of the intended effect of this change?* * * Suppose you have a very successful app called Qwertyuiop. And suppose another developer, your rival, has an application called Asdfghjkl, that is poorly written and no one uses it. Now, suppose this malicious user wants to steal your success -- he renames his application to Qwertyuiop 2: Reloaded Deluxe Edition, hoping to trick users into thinking his app is an upgrade to yours. With the new Name Collision Protection, this will no longer be possible: AppReviewer would notice his application changed its title and would detect that its new title conflicts with an existing application, Qwertyuiop, and the malicious app would be taken down * immediately*. Isn't that great news? *4. So when do two names collide?* * * Names collide when they are substantially similar -- similar enough to confuse the user who is doing a search for example. *5. Are all names protected?* * * No. Only names consisting of 8 or more characters are protected. Smaller names are not protected. *6. Is there an exception for applications from the same developer?* * * Yes, applications submitted by the same developer (this means the account that *submitted *the app, not the account that is listed as the author!) can have similar names. This means that the developer who published Qwertyuiop is allowed to publish Qwertyuiop 2 Reloaded. But no one else is. *7. Why won't the developer be notified before his app is taken down because of a name collision?* * * Because this would give a malicious developer time to profit from name frauds. So, as a security measure, no prior notice will be sent. *8. How can I make sure my app is not taken down for this?* * * It's simple: Don't change the title of your app. Ever. There are very few legitimate uses for this, so we presume that an app that has changed its name is probably up to no good. *9. Can I predict that a name won't conflict by doing a search?* * * No. Our name clash algorithm is stricter than a simple text search, so even if the name seems to be available when you do a regular search, it may actually conflict with something that the search didn't show you, and this will cause your application to be taken down. Again, see advice [8]: don't change your title. Ever. -- 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] Post a Private Message
You mean sending private scraps, right ? :-) Because sending scraps is totally possible. Best Robson Dantas @robsondantas On Sat, Apr 23, 2011 at 4:25 AM, Bruno Oliveira (btco) bru...@google.comwrote: Hi, It's not currently possible to send scraps with the Orkut API, but this may change in the future. - 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. -- 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] posting REST activities
You can just generate activities to the logged in user, cannot generate to others profile, since it will be automatically visible to everybody. This is why your first request if failling. The second is possibly related to captcha problems when sending, since it´s randomically generated by Orkut and opensocial-client-library does not check. Try to debug all information sent by orkut, and if get a confirmation, follow my implementation on orkut-os-client-php. Best Robson Dantas @robsondantas On Mon, Apr 18, 2011 at 1:36 PM, Roberto Scattini robert...@metrogames.comwrote: hi all: does anyone have this functionality working with php opensocial client in orkut? i keep getting the error: *There was a 403 error with the createActivity request: forbidden: Only activities for the viewer can be created or modified* this is a log of the batch execution [consumer key obfuscated, the userId without a zero at the beginning doesn't seems to make a difference, tested both] [1303143713] BATCH RPC REQUEST: Array ( [0] = osapiRequest Object ( [method] = activities.create [params] = Array ( [userId] = Array ( [0] = 6064885595942683910 ) [groupId] = @self [activity] = osapiActivity Object ( [body] = osapi test activity body [mediaItems] = Array ( ) [title] = osapi test activity at 1303143712 ) [appId] = @app ) [id] = createActivity ) ) BATCH URL: http://prod.sandbox.orkut.com/social/rpc?multi_post=func=post_activityoauth_nonce=314ac0489f6ffa947cdecc10b42374c5oauth_version=1.0oauth_timestamp=1303143712oauth_consumer_key=MY_KEYxoauth_requestor_id=06064885595942683910oauth_body_hash=uLwJs1fF6upbJ2L32V1vXfTi0n0%3Doauth_signature_method=HMAC-SHA1oauth_signature=%2Frx6f5MK7ltHuS0BWGYkg3AjuCk%3D if i change the userId to '@me' i get this: *There was a 403 error with the createActivity request: forbidden: Permission token validation failed* * * * * *NOTE: *I am firing this createActivity with a javascript function in our flash game, that access a special URL in our servers. then the servers do the REST call. this works without problem to obtain a user personal data, but not to do activities thing. * * * * any help is appreciated!!! -- Roberto Scattini -- 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] What's will happen if I don't submit my application to the application directory?
Hi WenKe! If you are creating a 3legged oauth based you dont need to send anything to the directory, just need to register your domain in order to get your keys. For 2legged you need an registered app in order to make remote calls. Let me know if you have any doubt. Best Robson Dantas @robsondantas On Wed, Apr 20, 2011 at 11:24 PM, 文珂 wennn...@gmail.com wrote: Hi, the doc says *'When you're ready, you can submit your application to the application directory http://www.orkut.com/Main#AppDirectory.aspx so all orkut users will be able to enjoy your latest creation.' * I'm developing server-to-server application to integrate with Orkut. I have registered an application but have not submit to the application directory. My question is whether there exists any difference between the unsubmited application submited application ? For instance, is the unsubmited application can only get the activities posted by itself ? Thanks, WenKe -- 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] get Scraps message
Hi! Don´t know if there is a way to get messages you have sent. But messages.get RPC command fetches messages received, passing an user id as parameter. GetScrapsTx uses this to retrieve scraps, passing @me as parameter. In other words, you will be able to check messages you got or messages your friends got (passing your friend ID instead of @me). Best Robson Dantas On Tue, Apr 19, 2011 at 6:38 AM, Matthew Young taige...@gmail.com wrote: After I created new scrap to my specific friend in orkut , I want to use GetScrapsTx to retrieve the scrap just I send , but can't get it , why ? anybody can answer me? -- 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] Re: How to get replies to a single scrap?
A possible way to do that is using Scrap activities, see here: http://code.google.com/p/orkut-os-client/source/browse/java/src/com/google/orkut/client/api/ScrapActivity.java http://code.google.com/p/orkut-os-client/source/browse/java/src/com/google/orkut/client/api/ScrapActivity.java Best Robson Dantas @robsondantas On Tue, Apr 19, 2011 at 6:12 AM, Matthew Young taige...@gmail.com wrote: can you get the scaps which you self sent to specific friend? -- 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] API quota exceeded
Are you using 2legged or 3legged oauth ? Message extracted from orkut-os-client readme file. But if you need to use the 'orkut' logo (instead of the 'Powered by orkut' logo) and/or you hit the quota limits as defined in the Developer ToS (see above). Please get in touch with us at orkutapireque...@google.com for a contract. To check about quota, read here:http://www.orkut.com/html/en-US/developer.terms.html *Restrictions on Usage* Google may, in it sole discretion, set a quota of operations on your API usage. You shall not attempt to circumvent automated use-quota restrictions. The following limits exist for the use of the API. - The number of active daily users cannot exceed 4K - The number of API requests per hour per user cannot 200 - The number of API requests per day per user cannot exceed 1000 - The number of API requests per hour cannot exceed 2K - The number of API requests per day cannot exceed 20K Robson Dantas @robsondantas On Wed, Apr 13, 2011 at 10:52 AM, Roberto Scattini robert...@metrogames.com wrote: hi all, since today, i am having this in my development server. Error en OsapiMainWrapper::obtenerViewerUser al pedir , respuesta obtenida: Array ( [self] = osapiError Object ( [errorCode:osapiError:private] = 403 [errorMessage:osapiError:private] = forbidden: API quota exceeded [response] = ) ) what does this mean? which is the quota limit? thanks in advance!!! -- Roberto Scattini -- 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] number of users
Did you check the developer console ? Supposing you are brazilian, follow this small article I wrote on opensocial-br.org: http://www.opensocial-br.org/tag/console-orkut/ http://www.opensocial-br.org/tag/console-orkut/It is also good to note that data may have delays. Best Robson Dantas @robsondantas On Wed, Apr 13, 2011 at 2:46 PM, Leonardo mas...@gmail.com wrote: How do I create a list with the number of users of my Apps on orkut? Reguards -- 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] Getting captcha through URL
Hi, Thanks for the tip, but it will not solve the problem here. Captcha needs to be generated on the fly using oauth, that´s why it turns out to be complicated. Robson Dantas @robsondantas On Mon, Apr 11, 2011 at 11:58 PM, jose roberto goncalves dias zeobertof...@gmail.com wrote: 2011/4/11 Allann Jones allan...@gmail.com Hi, I am retrieving captcha picture content, but I am developing with pure JavaScript, I don't have a way to write binary content to a file. So, how can I get the captcha picture with only a URL to pass to 'src' attribute of a img tag to show to user? Thank you. -- software has a very practical to use, called easy gift, you create or copy a picture to it, it already creates the code, or you can finish your work and save the image file on your computer, after this, do Upload paras orkut, or just post it. zeroberto -- 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. -- 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: orkut os client 2.0
As stated on other threads, looks like a bug on google´s side. Allan posted same error happening, and other users posted the same using java library. Bruno, Tiago, can you please check ? Tks Robson Dantas @robsondantas On Wed, Apr 13, 2011 at 2:27 AM, soori gokaraju iam.soo...@gmail.comwrote: can any one help me, to solve this issue -- 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] Post a Private Message
Send a private scrap to your account, and read scraps through the library to check which parameter it comes. Not sure if this feature is exposed, since it´s pretty new on orkut. Best Robson Dantas @robsondantas On Fri, Apr 8, 2011 at 12:31 PM, MarcosNC marco...@gmail.com wrote: Hi, I'm developing an application using the Orkut Client Library and I need to post a private message to a single user from my app. I tried to modify the library, in particular the WriteScrapTx class changing the value for the messageType parameter from public_message to private_message but it didn't work. Is it possible to send private messages? Does someone know how to do this? Thanks a lot in advance. Regards, Marcos -- 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] API quota exceeded
Not sure about that, but if I were you, would not trust on this. Best Robson Dantas @robsondantas On Thu, Apr 14, 2011 at 11:59 AM, Roberto Scattini robert...@metrogames.com wrote: hi robson, i am using 2-legged auth. now i have advanced a little, it was a problem of my own code. one question: the users ids, always have a 0 at the beggining? they have a fixed lenght? i have some problems working with them!! thanks in advance!! 2011/4/14 Robson Dantas biu.dan...@gmail.com Are you using 2legged or 3legged oauth ? Message extracted from orkut-os-client readme file. But if you need to use the 'orkut' logo (instead of the 'Powered by orkut' logo) and/or you hit the quota limits as defined in the Developer ToS (see above). Please get in touch with us at orkutapireque...@google.com for a contract. To check about quota, read here:http://www.orkut.com/html/en-US/developer.terms.html *Restrictions on Usage* Google may, in it sole discretion, set a quota of operations on your API usage. You shall not attempt to circumvent automated use-quota restrictions. The following limits exist for the use of the API. - The number of active daily users cannot exceed 4K - The number of API requests per hour per user cannot 200 - The number of API requests per day per user cannot exceed 1000 - The number of API requests per hour cannot exceed 2K - The number of API requests per day cannot exceed 20K Robson Dantas @robsondantas On Wed, Apr 13, 2011 at 10:52 AM, Roberto Scattini robert...@metrogames.com wrote: hi all, since today, i am having this in my development server. Error en OsapiMainWrapper::obtenerViewerUser al pedir , respuesta obtenida: Array ( [self] = osapiError Object ( [errorCode:osapiError:private] = 403 [errorMessage:osapiError:private] = forbidden: API quota exceeded [response] = ) ) what does this mean? which is the quota limit? thanks in advance!!! -- Roberto Scattini -- 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. -- 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] New: orkut Client Library 2.0 Developer Guide
Hi, Think someone from Google can take a look on this. This issue is related to what Allan Jones has posted few days ago. Just confirm there is an issue. Best Robson Dantas @robsondantas On Wed, Apr 13, 2011 at 6:35 AM, soori gokaraju iam.soo...@gmail.comwrote: Hi Robson Dantas, I am working on orkut-os-client 2.0 (java). It works fine for two days, I got every thing like my profile, my friends list, my friends profile etc. But i don't know why, it is not working from last two days. exception is coming while Requesting authorization URL from adapter. ie, String authURL = orkad.requestAuthURL(); Please help me regarding this issue. I had already posted this issue in forum, but i didn't get any response. Log : - *** Houston, we have a problem: com.google.orkut.client.api.OrkutAdapterException: OrkutAdapter: Error requesting OAuth authorization URL at com.google.orkut.client.api.DefaultOrkutAdapter.requestAuthURL(DefaultOrkutAdapter.java: 160) at samples.Sample.main_inner(Sample.java:90) at samples.Sample.main(Sample.java:650) Caused by: net.oauth.OAuthProblemException: HTTP/1.1 400 Bad Request at net.oauth.client.OAuthResponseMessage.toOAuthProblemException(OAuthResponseMessage.java: 83) at net.oauth.client.OAuthClient.invoke(OAuthClient.java:306) at net.oauth.client.OAuthClient.invoke(OAuthClient.java:260) at net.oauth.client.OAuthClient.getRequestTokenResponse(OAuthClient.java: 190) at com.google.orkut.client.api.DefaultOrkutAdapter.requestAuthURL_inner(DefaultOrkutAdapter.java: 172) at com.google.orkut.client.api.DefaultOrkutAdapter.requestAuthURL(DefaultOrkutAdapter.java: 157) ... 2 more Robson Dantas wrote: This is a fantastic update. But I´m really expecting to get another features inside the api: communities, for example, and of course documentation, since we already have php, .net, javascript, java libs running out there. Most of the work was done because me and other members reverse engineered the java library and fotoscrapr - I really spent so much time on this. See this thread - last july: http://www.mail-archive.com/opensocial-orkut@googlegroups.com/msg10291.html And, of course, updating this page would be also great - profile data section: http://code.google.com/apis/orkut/docs/orkutdevguide/orkutdevguide-0.8.html Best Robson Dantas 2011/2/15 Bruno Oliveira (btco) bru...@google.com Hello developers, We've just published the new orkut Client Library 2.0 Developer Guide http://code.google.com/apis/orkut/docs/clientlib/intro.html ! It is essentially a guided tour through the main features of the orkut Client Library and is intended to get you up and running with it as soon as possible. If you've worked with version 1.1 of the library, you will notice that we haven't changed the essence of the library but we have made it easier to use and integrate with (for example, introducing the new * OrkutAdapter* class). You can download the library from here http://code.google.com/p/orkut-os-client. Version 2.0 introduces a new download format: a binary-only distribution with a single JAR file that you can just drop into your project's class path, without any external dependencies (you can find it on the downloads list on the right side of the page). If you've never used the library before, this might be a good time to take a look at it! It essentially allows you to make requests to the orkut servers on behalf of a user. That user must authenticate with orkut and authorize your application to access his data, of course, and this is done via OAuth. After authentication, you can issue requests to the orkut servers on behalf of the user. Here are some of the things you can do: - Read person profiles - Read scraps - Write scraps - Reply to scraps - Read the activity stream - Post to the activity stream - Change the user's status text - Issue friendship requests - Accept/reject friendship requests - Create, delete, update and list albums - Create, delete, update and list photos in albums (yes, you can upload new photos directly!) - List and fetch videos - Get upcoming birthday notifications for friends As a quick example, here's a snippet of code that lists the user's friends (after authentication): GetFriendTx friends = orkad.getFriendTF().getSelfFriends(); friends.setCount(20); // get up to 20 friends BatchTransaction btx = orkad.newBatch(); btx.add(friends); orkad.submitBatch(btx); if (friends.hasError()) { // handle error } int i; say(You have + String.valueOf(friends.getFriendsCount()) + friend(s):); for (i = 0; i friends.getFriendsCount(); i++) { OrkutPerson f = friends.getFriend(i
Re: [orkut-developer] Getting captcha through URL
Allan, Ran into the same problem, and had to change the way was authenticating. Now I´m doing this serverside, and using javascript oauth library to make the calls. Dont see any other way to fix it, just serverside. Robson Dantas @robsondantas On Mon, Apr 11, 2011 at 7:33 PM, Allann Jones allan...@gmail.com wrote: Hi, I am retrieving captcha picture content, but I am developing with pure JavaScript, I don't have a way to write binary content to a file. So, how can I get the captcha picture with only a URL to pass to 'src' attribute of a img tag to show to user? Thank 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. -- 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: message.create
My two cents here, since it´s getting interesting, because it makes such apps 'impossible' to be developed. We realize this may be a challenge on embedded devices, and in those cases you have to ask the user to find a web browser to solve the captcha. Also, certain types of messages will always generate a captcha, no matter how infrequent they are. Would you use a service like this? let´s say: SMS to scrap, and when sending it, a message saying open your browser and type this in order to get it delivered. Orkut should have implemented something like Facebook to control abuse, and of course, having special partnerships where white lists could be applied. Why not bring this to the PM and check if it´s feasible to be implemented ? Best Robson Dantas @robsondantas -- 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] New release pushed to sandbox, please test your apps
Tiago, About item 3, is there any report about what was done ? Did you mean that fields described *here can be affected ? Is it up to date, btw ? [1] - http://code.google.com/apis/orkut/docs/orkutdevguide/orkutdevguide-0.8.html#profiledata Thanks Robson Dantas @robsondantas On Mon, Apr 11, 2011 at 2:47 PM, Tiago Silveira (Google) t...@google.comwrote: Hello orkut developers. We have a new sandbox release propagating right now. http://sandbox.orkut.com It includes two important patches that are working locally but need to be tested in the wild: 1. Microsoft is releasing tomorrow a patch to IE6 and IE7 that affects HTTP requests initiated by gadgets. Please make sure you can create activities and send emails using IE7. 2. There was a user privacy issue in full OAuth (a.k.a. 3LO) requests to people.get that has been plugged. If you're using OAuth, please make sure people.get works for you pointing to sandbox. Unless you were doing something nasty, you shouldn't notice any changes. Apart from that, there are minor fixes to the Developer page in this release. We're investigating why a reload breaks the left navigation, but it should be usable for all other features. Thanks in advance for your help, Tiago -- 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] Application Development
Hi! Api doesn´t support that yet. What you can do is writting an app to read this remotely. If the community is marked as open, you can read the threads. If not, you need to simulate a browser logging in, and then getting data (note you might break orkut TOS doing this). Best Robson Dantas @robsondantas On Thu, Apr 7, 2011 at 8:00 AM, Ketan ketan_barapa...@yahoo.com wrote: Hello All, I am very new to this community. I want to develop an application where in I will be able to keep the post of community as a back up file. In some community post are so much worthy to take it as back up or In any poem community some poems are really good to take it as back up. Is their any app available for taking bakup of all the threads in any file for e.g .txt file or .pdf file. Please let me know. Whether it is possible or not? If yes Please guide me How can I start . Waiting for response. Thanx in advance. -- 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] OAuth Authentication FailureOAuth Authentication Failure
Hi! This is weird. Was looking my log file to check authentication errors in the past 2 days and nothing listed. Still getting errors ? Best Robson Dantas @robsondantas On Tue, Apr 5, 2011 at 7:48 PM, Allann Jones allan...@gmail.com wrote: I'm using pure JavaScript with ClientLogin authentication, OAuth, opensocial. On Tue, Apr 5, 2011 at 3:40 PM, Robson Dantas biu.dan...@gmail.com wrote: Allan, Which library are you using ? Best Robson Dantas @robsondantas On Tue, Apr 5, 2011 at 3:09 PM, Allann Jones allan...@gmail.com wrote: From yesterday to now I am receiving lots of this errors using 3-legged: 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 -- -- 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. -- 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. -- 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
If i were you, would try 3legged instead of 2legged. Basically, some features are not implemented on 2legged, sending scraps for example. Another thing is that you need an app running on orkut in order to make 2legged work. Did you check the examples i provide in the 3legged ? See it up and running: www.dxs.com.br/os-3leg/test Regarding your problem, there are many factors. A quick fix should be replacing ' ' by '+' . See here: http://code.google.com/p/orkut-os-client-php/source/browse/trunk/lib/orkut-3legged.php#165 http://code.google.com/p/orkut-os-client-php/source/browse/trunk/lib/orkut-3legged.php#165Let me know how it goes. Best Robson Dantas @robsondantas On Mon, Apr 4, 2011 at 2:43 PM, Roberto Scattini robert...@metrogames.comwrote: hey robson! yes, we are using 2-legged. now that you mention it, i had read a thread not so long ago about this, with you and fernando. we are using 2-legged because the osapi-php-client didnt come with support for 3-legged in orkut and i dont have the time to investigate it further to add an Orkut3Provider. i tried your library too, but i then i saw that the examples coming with osapi-php DOES work (even with MY consumer key and secret). now my adventure has guided me to a extremely hideous problem, in some way related to differences between php 5.2.6 and 5.3.X in rawurlencode implementation... i say this becuase in my local xampp server (with php 5.2.6) the examples are working, but the same files in the test server (with php 5.3) are giving me OAuth Authentication Failure. do you have any advice on this? thanks for your reply! 2011/4/4 Robson Dantas biu.dan...@gmail.com 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.com wrote: 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. -- 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
Roberto, yes works. Just find the similar line on 2legged. My library was based in this one. You will notice that the errors are intermitent. Sometimes you get, sometimes, not. Best Robson Dantas @robsondantas On Tue, Apr 5, 2011 at 12:26 PM, Roberto Scattini robert...@metrogames.comwrote: robson: 2011/4/5 Robson Dantas biu.dan...@gmail.com If i were you, would try 3legged instead of 2legged. Basically, some features are not implemented on 2legged, sending scraps for example. Another thing is that you need an app running on orkut in order to make 2legged work. yes, i have a game running (or trying to run) in orkut, so no problem here. Did you check the examples i provide in the 3legged ? See it up and running: www.dxs.com.br/os-3leg/test Regarding your problem, there are many factors. A quick fix should be replacing ' ' by '+' . See here: http://code.google.com/p/orkut-os-client-php/source/browse/trunk/lib/orkut-3legged.php#165 http://code.google.com/p/orkut-os-client-php/source/browse/trunk/lib/orkut-3legged.php#165Let me know how it goes. this fix does not apply to 2-legged, dont? if i decide to go for three legged, i will try your suggestions. and about what i said of differences with php 5.2 and 5.3, *forget about that*, i ran the osapi examples in a new enviroment with php5.3 and they work OK (but not in the server i want them... :( ) any update i will post it here. -- 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] OAuth Authentication FailureOAuth Authentication Failure
Allan, Which library are you using ? Best Robson Dantas @robsondantas On Tue, Apr 5, 2011 at 3:09 PM, Allann Jones allan...@gmail.com wrote: From yesterday to now I am receiving lots of this errors using 3-legged: 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 -- -- 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. -- 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
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
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.
Re: [orkut-developer] Import orkut profile from my website
Hi! You are really using an old version of the api. You should be using 3legged oauth instead of 2legged in order to have something similar you have on Facebook. So, in this sense, take a look here: php library (which i developed): http://code.google.com/p/orkut-os-client-php java library ( developed by google ): http://code.google.com/p/orkut-os-client There is also a working (test) code I created, which is inside the library too. If you wanna take a look, just follow here: http://www.dxs.com.br/os-3leg/test/ Best Robson Dantas @robsondantas 2011/3/16 Johnny Bergström johnny.bergst...@duego.com Coming from facebook connect, I find the documentation for talking to the orkut opensocial api confusing. I would like to be able to read the profile settings like name, gender, birthdate etc and have this in my external webpage. I'm trying to use an example equivalent to http://code.google.com/p/opensocial-php-client/wiki/HowToConnecting#2-legged_OAuth_on_orkut I've created an application xml and got the OAuth params. How do I actually add this application to the user? How do I request the authorization from this user to get these fields from them? I find the documentation a bit dated since I can't find the menus and links they are writing about, and it's all focusing on javascript application to put in the orkut application directory, I don't really want to create an application in this manner I'm only after a way to import social data to my website. Regards, Johnny -- 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] Re: Many 3LO Calls Unavailable this week
Tiago, Can you please confirm if this bug was fixed in production ? Best Robson Dantas @robsondantas 2011/3/17 Mr . Nobody scra...@gmail.com I Think you have to Activate 3LO 4 now. Thanks On Wed, Mar 16, 2011 at 8:56 PM, Robson Dantas biu.dan...@gmail.comwrote: Tiago, Switched endpoint and scope on my test app - http://www.dxs.com.br/os-leg/test and all the calls which were failing now are ok. Just one thing that I noticed is related to captcha. Tried all combinations which used to result in a captcha challenge, and nothing happens - messages are just being sent. Anything changed ? Best Robson Dantas @robsondantas 2011/3/16 Tiago Silveira (Google) t...@google.com Has anyone confirmed that sandbox is working properly? We want to start pushing the proposed fix today. Sorry for the long delay. -- 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. -- 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] Re: Many 3LO Calls Unavailable this week
Tiago, Switched endpoint and scope on my test app - http://www.dxs.com.br/os-leg/test and all the calls which were failing now are ok. Just one thing that I noticed is related to captcha. Tried all combinations which used to result in a captcha challenge, and nothing happens - messages are just being sent. Anything changed ? Best Robson Dantas @robsondantas 2011/3/16 Tiago Silveira (Google) t...@google.com Has anyone confirmed that sandbox is working properly? We want to start pushing the proposed fix today. Sorry for the long delay. -- 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] Orkut community post to XML
Since communities pages are now 'open' to be indexed, theorically you can read data and convert to XML. Mentioned theorically because you will be able to do that just on communities marked as public. But read Orkut Terms of Service before doing that, just to make sure you are not violating it. Best Robson Dantas @robsondantas 2011/3/16 shiggity iva...@gmail.com Anyone made an app or smth for this? -- 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] Orkut community post to XML
Even if it´s your community, terms of service are there to regulate all Orkut stuff. As I mentioned, the community needs to be public in order to pull data, otherwise you will 'not' be able to do that. Can you please forward you community URL ? Is your goal creating a kind of rss feed for your community ? Best Robson Dantas @robsondantas 2011/3/16 shiggity iva...@gmail.com well i guess if its my community where all my real life friends chat it wont be a problem :) could someone help me with links how i can create such a code? -- 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] 3LO problems
Hi guys! Something has happened when issuing 3legged calls. This morning started to get this message when sending a request to list my friends: friends:{id:friends,error:{message:forbidden: Friend permission not granted,data:{errorType:noPermissions},code:403}} The same is happening when sending and reading scraps. Thoughts ? Robson Dantas @robsondantas -- 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: URGENT-Permission Denied (403 Forbidden) error occurs for Orkut Actions
For sure, something has changed on orkut. Got several requests from people using the php-library. Let´s wait until someone from Google answers this. Best Robson Dantas @robsondantas 2011/3/11 r9handa riha...@gmail.com Hi, I've got the same problem. Authentication seems to work fine, but permission denied is received for any other requests. I just posted another thread, but the issue is the same. Is that a server problem from orkut? Regards, Ricardo On 11 mar, 10:58, tester st stteste...@gmail.com wrote: Hi, I am getting a Permission Denied (Error code-403) for what all actions done like fetching friendslist, scrap books etc. However, Authentication is working properly and Auth Tokens are created by Orkut Service and returned to my Application Software. org.apache.http.NoHttpResponseException: The target server failed to respond is the Exception thrown when calling the API. org.apache.http.client.ClientProtocolException exception is also thrown for each of the httprequest. This occurs when the org.apache.http.impl.client.AbstractHttpClient.execute() method is invoked. So could you please locate this and solve as soon as possible. Thanks, Anupreetha -- 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] Friend permission not granted
Problem on Orkut. Bruno replied my thread few minutes ago. Let´s wait for a fix. Best Robson Dantas @robsondantas 2011/3/11 Rafael raf...@auxteam.com.br Hi, My request for friends return this message in OATH Authentication ... array(1) { [friends]= array(2) { [id]= string(7) friends [error]= array(3) { [message]= * string(40) forbidden: Friend permission not granted* [data]= array(1) { [errorType]= string(13) noPermissions } [code]= int(403) } } } but last month it`s ok, now, not ok ... I not understand the problem, is a problem of orkut? Tanks -- 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] Re: Acesso externo ao orkut
@Bruno, Está na esquerda do projeto orkut-os-client external links. Tem java, c#, php, qt https://code.google.com/p/orkut-oauth-api-csharp/ https://code.google.com/p/orkut-oauth-api-csharp/Robson Dantas @robsondantas Em 11 de março de 2011 11:35, Bruno Oliveira (btco) bru...@google.comescreveu: Sim, isso é possível! O que você precisa é acessar a API 3LO (3-legged OAuth). Você pode fazer os requests OAuth manualmente através do C# ou usar uma biblioteca existente (não sei de cor, mas existem). Para os programadores em Java, existe uma biblioteca cliente open-source que nós desenvolvemos em conjunto com a comunidade aqui: http://code.google.com/p/orkut-os-client Este é o guia de uso dessa biblioteca. Mesmo se você não for usar Java, vale a pena lê-lo porque ele dá uma idéia geral de como funciona o processo de autenticação e realização de chamadas. http://code.google.com/apis/orkut/docs/clientlib/intro.html [@Robson, se você ler essa thread: você sabe o link de alguma biblioteca C# para passar para ele?] -- 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] Re: URGENT-Permission Denied (403 Forbidden) error occurs for Orkut Actions
Just noticed for oauth. Best Robson Dantas @robsondantas 2011/3/11 Tiago Silveira (Google) t...@google.com This is all for OAuth, right? Is anyone having such problems within gadgets? -- 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] Re: 3LO problems
Sure, as follows: RPC sent: [{method:people.get,params:{userId:[@me],groupId:@self,fields:[displayName,currentLocation,thumbnailUrl,gender,name]},id:self},{method:people.get,params:{userId:[@me],groupId:@friends,fields:[displayName,currentLocation,thumbnailUrl,gender,name],count:300},id:friends}] Return data: [{id:0,message:ok},{self:{id:self,data:{gender:male,addresses:[{region:,locality:,type:currentLocation,country:BR}],isViewer:true,id:00579001741238250164,thumbnailUrl:http:\/\/ static1.orkut.com\/img\/i_nophoto64.gif,name:{familyName:BR,givenName:Opensocial},currentLocation:{region:,locality:,longitude:-95.71289,latitude:37.09024,type:currentLocation,country:BR},displayName:Opensocial BR}},friends:{id:friends,error:{message:forbidden: Friend permission not granted,data:{errorType:noPermissions},code:403}}}] This also happens when reading scraps. Let me know if you need anything else. Best Robson Dantas @robsondantas 2011/3/11 Tiago Silveira (Google) t...@google.com Robson, can you share the request that is failing (omitting private data, if any)? 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. -- 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: How long does accessPass take to expire?
100% agreed, but till now, no way to do that. At least Bruno or Tiago didn´t mention any solution ( asked at least 3 times ) Tiago / Bruno, comments ? Best Robson 2011/3/1 Fernando Mattos fbmat...@gmail.com My understanding is that it only 'expires' if the user revokes access to your application, or if Google blocks your application for misbehaving... by design there's no expiration date. -Fer On Feb 28, 12:30 pm, Felipe Lalli alouw.sand...@gmail.com wrote: I'm doing some tests with the orkut Client Library: http://code.google.com/apis/orkut/docs/clientlib/intro.html#authentic... and I read that I can use accessPass until it expires. But how long does it take to expire? 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. -- 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] Lista de amigos: data.get('viewerFriends').getData() devuelve null
Hola Pablo! ¿Puede probar este código? function loadFriends() { // create a request var req = opensocial.newDataRequest(); var viewerFriends = opensocial.newIdSpec({ userId : VIEWER, groupId : FRIENDS }); var opt_params = {}; opt_params[opensocial.DataRequest.PeopleRequestFields.MAX] = 100; req.add(req.newFetchPeopleRequest(viewerFriends, opt_params), 'info'); req.send(onLoadFriends); } function onLoadFriends(ret) { var data = ret.get('info'); var html = new Array(); html.push('ul'); if (!data.hadError()) { var viewerFriends = data.getData(); viewerFriends.each(function(person){ html.push('li' + person.getId() + '---' + person.getDisplayName() + '/li'); }); } html.push('/ul'); } Saludos, Robson Dantas @robsondantas 2011/3/2 Pablo Mendez mendezdomene...@gmail.com Buenas tardes: estoy implementando las funciones de obtención de la lista de amigos, que son casi exactamente iguales a las que pueden encontrarse en http://code.google.com/intl/es/apis/igoogle/docs/tutorial.html, a saber: function amigos() { if (opensocial.hasPermission(opensocial.Permission.VIEWER)) { var req = opensocial.newDataRequest(); req.add(req.newFetchPersonRequest(opensocial.IdSpec.PersonId.VIEWER), 'viewer'); var viewerFriends = opensocial.newIdSpec({ userId : VIEWER, groupId : FRIENDS }); var opt_params = {}; opt_params[opensocial.DataRequest.PeopleRequestFields.MAX] = 100; req.add(req.newFetchPeopleRequest(viewerFriends, opt_params), 'viewerFriends'); req.send(amigosProcesar); } else { return false; } } function amigosProcesar(data) { var destino = document.getElementById(api_amigos); var viewer = data.get('viewer').getData(); var viewerFriends = data.get('viewerFriends').getData(); html = new Array(); html.push('ul'); viewerFriends.each(function(person) { if (person.getId()) { html.push('li' + person.getDisplayName() + /li); } }); html.push('/ul'); destino.value = html.join(); } En la función amigosProcesar, la llamada a data.get('viewerFriends').getData(), devuelve siempre null, ¿hay algún error? ¿Es un bug? He aquí, estoy trabajando en Sandbox, tengo 3 amigos y dos de ellos ya adhirieron la aplicación a su perfil. ¿Cómo se soluciona esto? Desde ya, muchas gracias. Saludos. Pablo Mendez -- 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] Lista de amigos: data.get('viewerFriends').getData() devuelve null
Really dont know what you are doing. But this is a piece of working code got from my sample: http://www.opensocial-br.org/exemplo/opensocialbr.xml http://www.opensocial-br.org/exemplo/opensocialbr.xmlTested right now, and i´m getting my friends listed. Regarding your comment of using REST and PHP, depending the amount of requests you get, will need tons of servers and you will lose many good things container provides you. Caching, for example. Robson Dantas @robsondantas 2011/3/3 Pablo Mendez mendezdomene...@gmail.com In this code, *data.hadError() === true* and displays an empty friends list. I will use this functionality with REST and PHP, since its use with JavaScript is unstable and development time don't allow further investigation of bugs in the API. Thank You. Regards. -- 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] Re: ¿Cómo se activa el 2-legged OAuth? ¿Dónde está la documentación?
Did you read my message ? Looks like no. You got consumer key and secret for 3legged authentication, which is completely different for 2legged. To activate it, you need a gadget running inside Orkut - it is mandatory. And to make social calls, you will need to get user´s id too. Develop a gadget - can be a test or whatever, goto https://www.google.com/gadgets/directory/verify , type the url and it will give consumer key and secret for 2legged. Consumer key is a number, secret a small hash. You can copy my testing gadget if you want, and just change the key: http://www.opensocial-br.org/exemplo/opensocialbr.xml Unfortunately, there isn´t much documentation about this. Only one I know is here: http://code.google.com/p/opensocial-php-client/wiki/HowToConnecting#2-legged_OAuth_on_orkut http://code.google.com/p/opensocial-php-client/wiki/HowToConnecting#2-legged_OAuth_on_orkutPlease also note that I DO NOT work for Google. Just trying to help people here. Best, Robson Dantas @robsondantas 2011/3/3 Pablo Mendez mendezdomene...@gmail.com No, this is not what I need. I already have a consumer_key and consumer_secret. In fact, I used them in the OAuth Playground and work, but with 3-legged OAuth. I need to use *2-legged OAuth* and I want to activate this functionality, where do I activate it?. I know that it is not by entering https://www.google.com/gadgets/directory/verify, since consumer_secret and consumer_key that I get on that form, are not recognized as such by the OAuth Playground. The consumer_key and consumer_secret that I got at https://www.google.com/accounts/ ManageDomains, already work, but with 3-legged OAuth. I repeat: I need to use *2-legged OAuth* and how activate it. Is it in Google Apps? In another panel?. Then, if this is solved, where do I find clear and updated documentation on the request that I used to meet the steps of 2-legged OAuth? Ultimately, if this is not viable, is it valid to use 3-legged OAuth within an IFRAME on Orkut? Thank you very much. Greetings. Pablo Mendez -- 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] [orkut Client Library] How long does accessPass take to expire?
Did you mean access token (3 legged ) ? If so, don´t know exactly the answer, but what I can tell you is that I have mine running for more than 2 months and stills valid. It is a really useful information. @Bruno can you please clarify ? Best Robson Dantas @robsondantas 2011/2/28 Felipe Lalli alouw.sand...@gmail.com I'm doing some tests with the orkut Client Library: http://code.google.com/apis/orkut/docs/clientlib/intro.html#authenticating and I read that I can use accessPass until it expires. But how long does it take to expire? 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. -- 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: Server to Server Protocol
I sent this patch to the project owner, but seems they didn´t apply it. It´s also good to note that using the standard classes provided in this lib, you will get some trouble to access some orkut information. For example, reading scraps will not work, there are some parameters missing for the rpc call. Another thing is captcha handling. The library dont handle captchas issued by Orkut. Go to the test website I sent you and send a scrap with some link inside, and you will have a better understanding. Best Robson Dantas @robsondantas 2011/2/10 Fernando Uchiyama fernandoserv...@gmail.com Hi Robson, I just changed the method upgradeRequestToken() from osapiOAuth3Legged class (of Google's opensocial-php-client API) and now the authentication proccess is working smoothly!! What I did was to add lines 158 and 174 from your implementation (at http://code.google.com/p/orkut-os-client-php/source/browse/trunk/lib/orkut-3legged.php#158 ). Thanks a lot for your help guys. I really appreciated ! Fernando Uchiyama On Feb 10, 11:12 am, Robson Dantas biu.dan...@gmail.com wrote: Hi! opensocial-php-client is a library which was primarily design to be generic enough to run 2 or 3legged. But oauth version shipped, does not fix the space problem, that´s why you are getting problems on playground and on this library. If you wanna try a demo, see:http://www.dxs.com.br/os-3leg/test/ Try authenticating yourself many times, and you wont notice any error. Also, if you wanna take a look where I placed the fix, just follow this link: Line 158 174: http://code.google.com/p/orkut-os-client-php/source/browse/trunk/lib/... Best Robson Dantas @robsondantas 2011/2/10 Fernando Uchiyama fernandoserv...@gmail.com Hi Robson! I`m using the library recommended by Google (opensocial-php-client). Downloaded from here:http://code.google.com/p/opensocial-php-client/ I think the OAuth playground uses this library too, thats why I can reproduce the error there. I will take a look at your suggestion to see if it works. BTW, I remember to have seen this substitution in a function called urlencode_rfc3986, replacing `+` with a white space. Do you think removing this substitution can fix the issue? Thanks, Fernando On Feb 10, 9:47 am, Robson Dantas biu.dan...@gmail.com wrote: Fernando, Looks like you are using the PHP 2legged api. When I was creating the 3legged oauth library for PHP, got this issue several times, and found out that it was a bug on the library which is implementing the oauth mechanism. Basically, when you get a white space in a token, it should be replaced by '+', but for some reason the library was not doing so. And in this case, when signing using a white space, this error comes up. This explains why you are getting intermitent errors. Can you give more information about which lib are you using ? If you are going to use 3legged, suggest you to use mine: code.google.com/p/orkut-os-client-php Best Robson Dantas @robsondantas 2011/2/9 Fernando Uchiyama fernandoserv...@gmail.com You don't need to try too much to reproduce it. If you enter in the 3- legged steps requesting the access token like twenty times, maybe 8 of them will fail. Before each test, remember to clear the storage (I'm using osapiFileStorage), so the Orkut library will not use a cached Access Token. On Feb 9, 4:45 pm, Bruno Oliveira bru...@google.com wrote: Strange... I'm using the orkut client library and I always get a good access token from it. But granted, I've never tried several requests in quick succession to see how many succeed and how many fail. I'll try that and see if I get those errors. -- 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. -- 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
Re: [orkut-developer] How to get an App ID???
Come on. Stick to one thread and stop complaining. Orkut hasn´t changed everything. There are 2 sandboxes: - sandbox.orkut.com - fresh code is pushed to this environment - prod.sandbox.orkut.com - most stable When you are developing, suggest you using prod.sandbox.orkut.com The process is really simple: 1- You have to signup to sandbox in order to have access. If you did, you will be able to open http://sandbox.orkut.com or http://prod.sandbox.com . The page looks like exactly the same you see loggin on Orkut.com, except for the fact you can add applications on your profile without having to submit it for approval. So, when you create your app - which means basically a xml file - and want to test, just go to that page, and look to your left, under apps there is an edit button. You will see a textbox which you can enter your app url. If you want to add a test, go and add http://www.opensocial-br.org/exemplo/opensocialbr.xml . 2- When adding your app, on the same menu I described above you will see your app listed. Just click and you will be redirected to an url which will look like this: http://prod.sandbox.orkut.com/Main#Application?uid=16221122015155686667appId= 950702661814rl=ls appId is shown in the url - in this case 950702661814 . Let me know if it stills unclear for you, or if it helps. Best Robson Dantas @robsondantas 2011/2/10 as souzajo...@aol.com Could you guys give to us a full, detail explantion on how to get an app ID? Also, wich the address for the sandbox? There are so many(none working properly). Bear with us that Orkut has changed everything (for worst by the way) and no info (or documentation) on that. So basically we are working in the darkness. 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. -- 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] difficult start
Roberto, Content-type=url was disabled on Orkut due security issue. Switch to html. Also good to note that it will not work on profile view. You need to use data pipelining and templates to make it running. Br Robson Dantas @robsondantas 2011/2/2 Roberto Scattini robert...@metrogames.com hi prashant!! ok, here is my xml: ?xml version=1.0 encoding=UTF-8 ? Module ModulePrefs title=Fashion World directory_title=Metrogames description=Fashion World!! title_url=http://orkut.musicame.com/juego-activo; author=Roberto Sca author_email=robert...@metrogames.com screenshot=http://orkut.musicame.com/royblack.jpg; thumbnail=http://orkut.musicame.com/avatar.jpg; Require feature=opensocial-0.8/ Require feature=views/ Require feature=dynamic-height/ /ModulePrefs Content type=url href=http://orkut.musicame.com/juego-activo/; / ContentMYKEY/Content /Module anyway, do you know how it works? how do I enable opensocial libs in my external iframe app? in myspace (that uses opensocial too) they say you have to load some libraries in your HTML, but they provide the links. I didnt find that anywhere in the extensive orkut documentation. thanks in advance!! 2011/2/2 Prashant Patil prashantpandurangpa...@gmail.com Post your xml link that will help what you have used exactly in your code!! will let you know fixes!! On Fri, Jan 28, 2011 at 11:50 PM, Beto dunadanmonta...@hotmail.comwrote: hey guys! finally i have an app approved this week. it is an app with href=url (this is, external iframe) the problem i have is very basic: it doesnt load opensocial javascript libraries, and i cant get it working. AFAIK, the xml file MUST have a Require tag in ModulePrefs to load the libraries is this true? my app has all this tags: Require feature=opensocial-0.8/ Require feature=views/ Require feature=dynamic-height/ but even with the simplest tests, i get opensocial is not defined error... maybe i misunderstood some info in the documentation and this tags doesnt generate the automatic load of the libraries... in that case, where do i get the links to include the opensocial javascript libraries by hand in my app? thanks in advance!!! ps: i think i posted this yesterday, but i dont see it... -- 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.comopensocial-orkut%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/opensocial-orkut?hl=en. -- Regards Prashant P Patil aka Orkuteer http://goo.gl/S8Qq | http://goo.gl/Kr4G -- 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.comopensocial-orkut%2bunsubscr...@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.comopensocial-orkut%2bunsubscr...@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] Re: Application not publishing updates to users
Decoder, Add a callback to your createactivity call in order to debug what is going on. It is also good to check using firebug. PS: Did you notice a typo here ( L )? params[opensociaL.MediaItem.Field.THUMBNAIL_URL] = streamThumbnail; function publishTimeLeft(){ var timeLeft = document.getElementById(cntdwn).innerHTML; var streamTitle = Time left to Cricket World Cup - 2011; var streamBody = timeLeft; var streamThumbnail = https://dl.dropbox.com/u/259/cricket_world_cup_countdown_logo.png;; var params = {}; params[opensocial.Activity.Field.TITLE] = streamTitle; params[opensocial.Activity.Field.BODY] = streamBody; params[opensocia.MediaItem.Field.THUMBNAIL_URL] = streamThumbnail; var activity = opensocial.newActivity(params) opensocial.requestCreateActivity(activity, opensocial.CreateActivityPriority.HIGH, callback); } function callbackAtividade(status) { if (status.hadError()) alert(DATA: + status.getData()+ MSG: + status.getErrorMessage()+ CODE: + status.getErrorCode()); else alert(done); } Robson Dantas @robsondantas 2011/1/11 Decoder devarshi.bluec...@gmail.com The code for publishing update is as follows: function publishTimeLeft(){ var timeLeft = document.getElementById(cntdwn).innerHTML; var streamTitle = Time left to Cricket World Cup - 2011; var streamBody = timeLeft; var streamThumbnail = https://dl.dropbox.com/u/259/ cricket_world_cup_countdown_logo.png; var params = {}; params[opensocial.Activity.Field.TITLE] = streamTitle; params[opensocial.Activity.Field.BODY] = streamBody; params[opensociaL.MediaItem.Field.THUMBNAIL_URL] = streamThumbnail; var activity = opensocial.newActivity(params) opensocial.requestCreateActivity(activity, opensocial.CreateActivityPriority.HIGH, function(){}); } but it is not working... still waiting for solution On Jan 11, 9:17 am, Decoder devarshi.bluec...@gmail.com wrote: Hi all, I have made a simple application in which update should be published in activity stream of user on click of - 'Inform your friends celebrate!' button, but it is not working as coded. Can anyone suggest me, if I have done anything wrong? The url for application is- http://dl.dropbox.com/u/259/cricket_world_cup_countdown.html Thanks, Decoder -- 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-or...@googlegroups.com. To unsubscribe from this group, send email to opensocial-orkut+unsubscr...@googlegroups.comopensocial-orkut%2bunsubscr...@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-or...@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: does scrapping is available from api ?
There are c#, php, java em qt based api´s . PHP for example, can be found on code.google.com/p/orkut-os-client-php Live sample: http://www.dxs.com.br/os-3leg/test Regards Robson Dantas @robsondantas 2011/1/4 Bruno Oliveira bru...@google.com You can do that via the Orkut Client Library. http://code.google.com/p/orkut-os-client More specifically, you can use ScrapTxFactory.writeScrap(personId, body). -- 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-or...@googlegroups.com. To unsubscribe from this group, send email to opensocial-orkut+unsubscr...@googlegroups.comopensocial-orkut%2bunsubscr...@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-or...@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: Is it possible to an Orkut app to run on background?
1- You can develop a gadget and authenticate your user on twitter using oauth and then fetching tweets in background, showing in the app, becaming available to those who have the app installed; 2- You can use 3legged oauth to log in on orkut, and then logging in using oauth on twitter. Post tweets through activities and it will be visible on orkut. This approach is similar of what Facebook is doing, but in this case, I dont know how long access token (used to send remote commands on orkut) will live. If it gets expired, you will need to find a way to make user authenticate again. Robson Dantas @robsondantas 2011/1/4 Bruno Oliveira bru...@google.com Well, that's definitely not possible in an Orkut gadget, since they only run when the user is logged in. If you have a server, you can implement a server-side application that communicates with Orkut via the Client Library. For more information, please check http://code.google.com/p/orkut-os-client The user will still have to log in in order for your app to get an access token (for OAuth), but while the token is valid, you can continue to issue requests in the background. -- 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-or...@googlegroups.com. To unsubscribe from this group, send email to opensocial-orkut+unsubscr...@googlegroups.comopensocial-orkut%2bunsubscr...@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-or...@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: Android Sample Code
And what is it have to do with the Android question ? Are you using the same library ? If not, this is the wrong thread. Robson Dantas 2010/12/14 Bill Hall williamlh...@gmail.com Question? I have posted 99 albums in Orkut. It won't let me post anymore? Why? Bill On Mon, Dec 13, 2010 at 12:50 PM, Robson Dantas biu.dan...@gmail.comwrote: Just a remark here: Opensocial-client-library for java[1] is ready for Android. It has 2legged and 3legged support, and if you know how to pack rpc commands think this is the easiest way. A simple ant will solve your problem. [1] http://code.google.com/p/opensocial-java-client/ http://code.google.com/p/opensocial-java-client/[2] http://code.google.com/p/opensocial-java-client/source/browse/#svn/trunk/android Just remember you will need to handle browser authentication when running 3legged oauth. -Robson Dantas 2010/12/10 Bruno Oliveira bru...@google.com Great question. I'd love to see Android sample code using this library. I've been meaning to try to write that for a while :) If you work something out, please post here to share with us. -- 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-or...@googlegroups.com. To unsubscribe from this group, send email to opensocial-orkut+unsubscr...@googlegroups.comopensocial-orkut%2bunsubscr...@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-or...@googlegroups.com. To unsubscribe from this group, send email to opensocial-orkut+unsubscr...@googlegroups.comopensocial-orkut%2bunsubscr...@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-or...@googlegroups.com. To unsubscribe from this group, send email to opensocial-orkut+unsubscr...@googlegroups.comopensocial-orkut%2bunsubscr...@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-or...@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: Post a new Activity With Client isn't working
Bruno, Other guys are complaining the same thing on orkut-os-client-php list. Tested here and it isnt showing anything (my profile and others profiles) Looks like the same bug we had some months ago, where 3lo activities were broken. -Robson Dantas 2010/12/16 Bruno Oliveira bru...@google.com Are you unable to see it on your own activity stream? Or are you testing this from a friend's profile, and they can't see your post? -- 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-or...@googlegroups.com. To unsubscribe from this group, send email to opensocial-orkut+unsubscr...@googlegroups.comopensocial-orkut%2bunsubscr...@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-or...@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: Android Sample Code
Just a remark here: Opensocial-client-library for java[1] is ready for Android. It has 2legged and 3legged support, and if you know how to pack rpc commands think this is the easiest way. A simple ant will solve your problem. [1] http://code.google.com/p/opensocial-java-client/ http://code.google.com/p/opensocial-java-client/[2] http://code.google.com/p/opensocial-java-client/source/browse/#svn/trunk/android Just remember you will need to handle browser authentication when running 3legged oauth. -Robson Dantas 2010/12/10 Bruno Oliveira bru...@google.com Great question. I'd love to see Android sample code using this library. I've been meaning to try to write that for a while :) If you work something out, please post here to share with us. -- 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-or...@googlegroups.com. To unsubscribe from this group, send email to opensocial-orkut+unsubscr...@googlegroups.comopensocial-orkut%2bunsubscr...@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-or...@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: Orkut App code can be hacked and edited easily
I forwarded your message to Google and Bruno mentioned he sent a message, but got no answer from your side. Get in touch with them, though. b...@google.com , t...@google.com Regards Robson Dantas 2010/12/11 Toton sourav18gh...@gmail.com how can i be in touch with them ? i've no email or such thing of google guys ! On Dec 6, 5:05 pm, Robson Dantas biu.dan...@gmail.com wrote: Hi Sourav! Do not share this publicly. Just get in touch with guys from Google to give them information about the security issue you have found. Regards Robson Dantas 2010/12/5 Toton sourav18gh...@gmail.com Sir, I've noticed that any orkut application code can be hacked, and edited very easily. Hope you will try to solve this as soon as possible. I'm also ready to tell how to hack so you can patch it faster ! Regards, Sourav Ghosh http://www.google.com/support/forum/p/orkut/thread?tid=5a2ec2b82d6cc4. .. -- 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.comopensocial-orkut%2bunsubscr...@googlegroups.com opensocial-orkut%2bunsubscr...@googlegroups.comopensocial-orkut%252bunsubscr...@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-or...@googlegroups.com. To unsubscribe from this group, send email to opensocial-orkut+unsubscr...@googlegroups.comopensocial-orkut%2bunsubscr...@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-or...@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] Violation found: Apps with type Url
Bingo! It passed on sandbox and prod.sandbox. Is Orkut already using Shindig 2 ? At least on OSDE, which is using 1.1, it works fine. It's also good to note that this sample was working some months ago, when created to present on TDC 2010. I'm quite familiar with Shindig source code; going to do some tests and if get something will fill in a bug. Sample code to make proxied content work: Content view=canvas href=http://www.cnn.com/; xmlns:os= http://ns.opensocial.org/2008/markup; / Thanks for pointing this out! -Robson Dantas @robsondantas 2010/12/8 Tiago Silveira (Google) t...@google.com Hey guys, we're having a hard time reproducing this error. With Robson's example gadget we get a 403 instead of 502, because of the authz=signed. Also, it seems that there's a bug in Shindig for parsing/reconstructing URLs -- when a / is absent after the hostname, '/null' is set as the path. If you remove the authz and add the / at the end of the URL, does it work? You should also test with a different server, as google.com will refuse the resulting request anyway (cnn.com will accept it, for example). Thanks in advance, the orkut apps team. -- 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-or...@googlegroups.com. To unsubscribe from this group, send email to opensocial-orkut+unsubscr...@googlegroups.comopensocial-orkut%2bunsubscr...@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-or...@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] Orkut App code can be hacked and edited easily
Hi Sourav! Do not share this publicly. Just get in touch with guys from Google to give them information about the security issue you have found. Regards Robson Dantas 2010/12/5 Toton sourav18gh...@gmail.com Sir, I've noticed that any orkut application code can be hacked, and edited very easily. Hope you will try to solve this as soon as possible. I'm also ready to tell how to hack so you can patch it faster ! Regards, Sourav Ghosh http://www.google.com/support/forum/p/orkut/thread?tid=5a2ec2b82d6cc4ffhl=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-or...@googlegroups.com. To unsubscribe from this group, send email to opensocial-orkut+unsubscr...@googlegroups.comopensocial-orkut%2bunsubscr...@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-or...@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: Orkut API Limit
Tiago / Bruno, Following this thread, and asking specifically about 3legged API calls, is there a limit for sending scraps ? I´ve been testing some calls, and after some time, got something like 'permission denied for your domain, try in the next hours', which means is a kind of blocking system. Since there isn´t any documentation about this, can you clarify if there is something special in this case ? I got this question many times on opensocial-br list and some customers and really dont know the answer. Basically, I´m packing 500 scraps on a unique rpc call, and dealing with captcha. When getting around 300 scraps sent, calling the api ~6 times, it blocks and returns this message. Tks! Robson Dantas 2010/12/2 Tiago Silveira (Google) t...@google.com Found it, please refer to the section called Restrictions on Usage at this link: http://www.orkut.com/html/en-US/developer.terms.html -- 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-or...@googlegroups.com. To unsubscribe from this group, send email to opensocial-orkut+unsubscr...@googlegroups.comopensocial-orkut%2bunsubscr...@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-or...@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] Violation found: Apps with type Url
Hi Tiago, Theorically, I´d agree with you, but as I mentioned before, it doesnt work. To make sure (again), I just added a simple gadget on my account: http://www.opensocial-br.org/exemplo/content.xml Basically, it is: Content type=html view=canvas href=http://www.google.com;/Content And than you will get an error message: Unable to reach remote host. HTTP status 502 Switching content type to url, works smoothly. Bug ? -Robson Dantas 2010/11/30 Tiago Silveira (Google) t...@google.com As far as I can tell, just switching type=url to type=html should work. The gadgets server will fetch the URL, but it will parse its content and use it as if it were inside the Content tag. But if I'm mistaken, let me know. -- 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-or...@googlegroups.com. To unsubscribe from this group, send email to opensocial-orkut+unsubscr...@googlegroups.comopensocial-orkut%2bunsubscr...@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-or...@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] Migrate app URL
Hi! This is the first time seen this tool popping up here. Everytime someone needed to change the url, 2 approaches were given: 1- Sending app again, and cancelling the old one - which might have some impact on your ranking; 2- Someone from Google (in that case, think Prashant) helping. Think Bruno or Tiago, both from Google, can help you on this; BR Robson Dantas @robsondantas 2010/12/1 Bruno Andrade Alves brunoaal...@gmail.com Hi, I'm trying to migrate an app but I can't. I followed the steps at http://orkutdeveloper.blogspot.com/2009/06/app-url-migration-tool-available.html . I've tried the http://sandbox.orkut.com/Main#Developer option too, but it keep's giving an error message that an error ocurred that I should try again later. I've tried many times. What should I do? Is the migration tool working properly? Thanks in advance, Bruno -- 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-or...@googlegroups.com. To unsubscribe from this group, send email to opensocial-orkut+unsubscr...@googlegroups.comopensocial-orkut%2bunsubscr...@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-or...@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] App approval
Hi André, Yes, some problems on app approval. Tiago (Google), ran manually some days ago, just to process the long queue, till it gets fully implemented and tested. Follow this thread here to get more info: http://groups.google.com/group/opensocial-orkut/browse_thread/thread/ed97f913fde71b71/f43eb6141d672c04?lnk=gstq=bruno+oliveira#f43eb6141d672c04 http://groups.google.com/group/opensocial-orkut/browse_thread/thread/ed97f913fde71b71/f43eb6141d672c04?lnk=gstq=bruno+oliveira#f43eb6141d672c04 Regards, Robson Dantas Em 17 de novembro de 2010 22:35, André Michels Freitas andre.mich...@gmail.com escreveu: Does anybody know if orkut is having problems with app approval process? I've posted an app and i have no answers. Either positive or negatives. The app is running perfectly in sandbox. -- 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-or...@googlegroups.com. To unsubscribe from this group, send email to opensocial-orkut+unsubscr...@googlegroups.comopensocial-orkut%2bunsubscr...@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-or...@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] Scroll bar problems
Hi, Which view are you referring to ? profile or canvas ? Robson Dantas @robsondantas 2010/12/2 Sriram sriramdas...@gmail.com I made few orkut apps, but now, there is no scrollbars for the apps and the app is only partially visible. How to get the scrollbars in my apps? -- 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-or...@googlegroups.com. To unsubscribe from this group, send email to opensocial-orkut+unsubscr...@googlegroups.comopensocial-orkut%2bunsubscr...@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-or...@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] Opensocial ID to app
This problem was solved on opensocial-br list, wasnt it ? -Robson Dantas 2010/11/23 Leonardo Rafael Morastoni leomo...@gmail.com Hello! How can I send opensocial ID to my external java app? and how can i call it on gadget witth HTML type, I can't using URL gadget anymore :( In this article(http://code.google.com/p/opensocial-java-client/wiki/ TwoLeggedOAuthJava) has an example of how to do it: http://chrisschalk.com/gadgets/sa/v0.8/basic/listfriends-tutorial.xml but it doesn'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-or...@googlegroups.com. To unsubscribe from this group, send email to opensocial-orkut+unsubscr...@googlegroups.comopensocial-orkut%2bunsubscr...@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-or...@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] Get friend information by using his orkut ID
Yes Matheus, you are right. Even if you try sending the user id directly, you will not be able to get user information. I coded a call in my sample file sometime ago: http://www.opensocial-br.org/exemplo/opensocialbr.xml Regards Robson Dantas 2010/11/29 Matheus Ricardo Uihara Zingarelli thesolitaryrea...@gmail.com As far as I know you can only get user's data by using user's OpenSocial ID (different from profile ID) and user must have the app installed. On Fri, Nov 19, 2010 at 5:18 AM, Tushar gandhi.t...@gmail.com wrote: Hi, I have application into which I have stored the my friend's orkut user id by using opensocial. I want to get the information about the particular friend using that stored Id, my friends haven't installed the application. Is it possible to retrieve the information? If Yes How? Any help appreciated. Thanks, Tushar -- 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-or...@googlegroups.com. To unsubscribe from this group, send email to opensocial-orkut+unsubscr...@googlegroups.comopensocial-orkut%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/opensocial-orkut?hl=en. -- # # # # Matheus Ricardo Uihara Zingarelli # Web Developer # (16) 9725 - 8509 # Skype: matheus_zingarelli # # -- 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-or...@googlegroups.com. To unsubscribe from this group, send email to opensocial-orkut+unsubscr...@googlegroups.comopensocial-orkut%2bunsubscr...@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-or...@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: profile view (pipline) is working again - thank you
Yes, running smoothly. -Robson Dantas 2010/11/24 Sunil sunil.k.makw...@gmail.com Any news on this? Is it back? On Nov 19, 11:54 am, sunnydiv sunny...@gmail.com wrote: down again ? i hope its temporary On Nov 17, 10:32 pm, sunnydiv sunny...@gmail.com wrote: even though my revenue has dived 50%, at least it has started working again, i hope it is stable and we do not face a similar situation in the near future. thanks to the orkut team for bringing it back up -- 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-or...@googlegroups.com. To unsubscribe from this group, send email to opensocial-orkut+unsubscr...@googlegroups.comopensocial-orkut%2bunsubscr...@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-or...@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] Violation found: Apps with type Url
Not really Antonio. Applications marked as url, are different from html. HTML you need to build everything inside your gadget specification, while url you can point to somewhere outside - running an iframe for example. But as stated by Tiago (Google), this approach is bringing bad apps to Orkut, and to avoid it, it´s not allowed to use this anymore, and in this case, you need to find out another ways to solve your problem. Proxied content *might* work, but lot of calls will need to be written again. -Robson Dantas 2010/11/29 Antonio Cruda antonio.cr...@gmail.com Hi, I think you should change type=url in Content type=url href= http://indiachat.co.in/orkut/icq.html? chennai / to type=html. Regards, Antonio Cruda On Thu, Nov 18, 2010 at 2:26 PM, Swadhin bhanbh...@gmail.com wrote: Received a violation mail from orkut. Kindly help me on how to overcome with this. MAIL: Hi, Your app, Chennai Chat Room, is currently violating orkut's developer guidelines: - Hide quoted text - http://code.google.com/apis/orkut/docs/orkutdevguidelines.html Violation found: Apps with type Url Please let us know when you have addressed this issue. If we don't hear from you or see that the problem has been fixed within 72 hours, we will temporarily disable your application. -- XML DATA: ?xml version=1.0 encoding=UTF-8 ? Module ModulePrefs title=Chennai Chat Room description=Chennai Chat Room. Join us and Chat with your Chennai friends and search for new friends on orkut from Chennai. Chat with us in your City !! title_url=indiachat.co.in author=indiachat.co.in author_email=indiachat.co...@gmail.com author_location=India author_link=http://indiachat.co.in; height=451 screenshot=http://indiachat.co.in/orkut/square.jpg; thumbnail=http://indiachat.co.in/orkut/square.jpg; / Content type=url href=http://indiachat.co.in/orkut/icq.html? chennai / /Module Kindly help -- 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-or...@googlegroups.com. To unsubscribe from this group, send email to opensocial-orkut+unsubscr...@googlegroups.comopensocial-orkut%2bunsubscr...@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-or...@googlegroups.com. To unsubscribe from this group, send email to opensocial-orkut+unsubscr...@googlegroups.comopensocial-orkut%2bunsubscr...@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-or...@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] open social client
You can fetch scraps using 3legged oauth libraries. There are 2 libs available: 1- Java - http://code.google.com/p/orkut-os-client 2- PHP - http://code.google.com/p/orkut-os-client-php I created a live sample based on php library which fetchs scraps. Give it a try: www.dxs.com.br/os-3leg/test Regards, Robson Dantas 2010/11/24 soori iam.soo...@gmail.com I am developing a web application, In that i include orkut friends. I am able to fetch orkut friends and activities. But i am unable to fetch scraps. Is there a way to get scraps and reply scraps using java web application. I saw the desktop and mobile application, in that every thing is possible like writing scraps, deleting scraps etc. It is not supported for web. Can u suggest a way to do that in web -- 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-or...@googlegroups.com. To unsubscribe from this group, send email to opensocial-orkut+unsubscr...@googlegroups.comopensocial-orkut%2bunsubscr...@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-or...@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: issue with fetching viewer id from API call in profile view
As far as I remember, you will not be able to get an user directly like this, due security restrictions. Also remember that it worked on sandbox, but on live website it was showing a permission denied error (like yours). A simplier way would be using OwnerRequest and ViewerRequest Try this: script type=text/os-data xmlns:os=http://ns.opensocial.org/2008/markup os:OwnerRequest key=owner / os:ViewerRequest key=viewer / /script !-- debug -- ${owner.id} ${viewer.id} Let me know how it goes . Robson Dantas 2010/11/24 prameela raju prameelachan...@gmail.com I am viewing application on my own profile On Wed, Nov 24, 2010 at 5:38 PM, Bruno Oliveira bru...@google.com wrote: Are you viewing an appilcation installed on your own profile? Or is it someone else viewing an application in your profile (or you viewing the application on someone else's profile)? -- 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-or...@googlegroups.com. To unsubscribe from this group, send email to opensocial-orkut+unsubscr...@googlegroups.comopensocial-orkut%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/opensocial-orkut?hl=en. -- prami -- 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-or...@googlegroups.com. To unsubscribe from this group, send email to opensocial-orkut+unsubscr...@googlegroups.comopensocial-orkut%2bunsubscr...@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-or...@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] How to post Activities using AuthSub?
Reza, As far as I remember it was kinda deprecated, and not allowed to use anymore, since Orkut team launched 3LO authentication. Maybe someone from Google can confirm it. -Robson Dantas 2010/11/4 Reza mdreza1...@gmail.com Hi All, I have made one Web Apps based on 3-legged OAuth...and using this i am able to post activities on my account. But now my requirements are slightly changedi don't want user to enter his credentials each and every time...in fact i read about this and came to know this can be done using AuthSub I read different posts regarding getting a token for the user using his credentials..and after getting the token i found that we can convert the token to a long lasting onebut i don't know after getting the token how should i proceed with making a request to post activities on orkut... Any help on this is apppreciated. Thanks in advance, Reza. -- 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-or...@googlegroups.com. To unsubscribe from this group, send email to opensocial-orkut+unsubscr...@googlegroups.comopensocial-orkut%2bunsubscr...@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-or...@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] Adding a new developer owner to an orkut app
Prashant Tiwari (from Google) used to do that. Mail him and see how it goes. Other possibility would be resending your app and deleting the old, but in this case, you will lose info about your ranking. -Robson Dantas 2010/10/31 Sundeep vigsund...@gmail.com Hi, We have an app in Orkut and would like to add or change the developer of the app. Is there a way to do that? Thanks Sundeep -- 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-or...@googlegroups.com. To unsubscribe from this group, send email to opensocial-orkut+unsubscr...@googlegroups.comopensocial-orkut%2bunsubscr...@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-or...@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] Orkut
Just noticed this: [{id:1-m.d,error:{message:internalError: For input string: \invalidAlbumId\,code:500}}] Did you cross check the album id ? -Robson Dantas 2010/10/26 Niall nialloughn...@gmail.com Hi, im getting a 500 Internal Server Error from the Orkut API when trying to delete a media item when the folder id is invalid or the folder is missing, i'm using the Orkut os client: http://orkut-os-client.googlecode.com/files/orkut-os-client-1.1-9c77cf447d.tar.bz2 the request that i'm sending is: POST /social/rpc? oauth_token=1%2FDxzKBkQfeOtFcph8n8J5366ogRS1ZiEp1lUxRNWEYxYoauth_consumer_key= orangeproxydev.newbay.comoauth_signature_method=HMAC- SHA1oauth_timestamp=1288105949oauth_nonce=603199340453567oauth_signature=klfWV58MPjIDuwCgsmjRU4YhBKU %3D HTTP/1.1 Content-Type: application/json X-Orkut-Client-Lib: 0.1 User-Agent: Jakarta Commons-HttpClient/3.1 Host: www.orkut.com Content-Length: 160 [{params: {mediaItemId:1234567890,albumId:invalidAlbumId,groupId:@self,userId:15461369407832016069},id:1- m.d,method:mediaitems.delete}] the response is: HTTP/1.1 200 OK Set-Cookie: S=neworkut_borg=00wyD6AsTX5kLKZEheSg6w; Path=/; HttpOnly; HttpOnly Content-Type: application/json; charset=UTF-8 Date: Tue, 26 Oct 2010 15:11:05 GMT Expires: Tue, 26 Oct 2010 15:11:05 GMT Cache-Control: private, max-age=0 X-Content-Type-Options: nosniff X-Frame-Options: SAMEORIGIN X-XSS-Protection: 1; mode=block Server: GSE Transfer-Encoding: chunked 65 [{id:1-m.d,error:{message:internalError: For input string: \invalidAlbumId\,code:500}}] 0 any ideas? Cheers, Niall -- 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-or...@googlegroups.com. To unsubscribe from this group, send email to opensocial-orkut+unsubscr...@googlegroups.comopensocial-orkut%2bunsubscr...@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-or...@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: [OpenSocial] Problems hosting gadgets
Yes. Looks like the automatic approval is down. Someone from Google ? -Robson Dantas 2010/11/3 Portugal Telecom Inovacao projetojeep.p...@gmail.com Are you having problem to add gadgets on orkut? these days im having problems Thanks! -- You received this message because you are subscribed to the Google Groups OpenSocial Application Development group. To post to this group, send email to opensocial-...@googlegroups.com. To unsubscribe from this group, send email to opensocial-api+unsubscr...@googlegroups.comopensocial-api%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/opensocial-api?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-or...@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] Profile View not working in Prod.Sandbox, does it require templates?
Try my sample. Think you are missing some tags and require´s. Yes, you need to use templates. www.opensocial-br.org/exemplo/opensocialbr.xml -Robson Dantas 2010/11/3 DevenH dev...@gmail.com The profile view for my app is not working on prod.sandbox, do i have to use templates in order to render a profile view or is this a bug with orkut? Also, when does the profile view get saved, when a user views his/her profile after the app has been installed or when the application is first installed? my code is simple: ?xml version=1.0 encoding=UTF-8 ? Module ModulePrefs title=Hello World! Require feature=opensocial-0.8 / /ModulePrefs Content type=html view=profile, canvas ![CDATA[ Hello, world!! ]] /Content /Module -- 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-or...@googlegroups.com. To unsubscribe from this group, send email to opensocial-orkut+unsubscr...@googlegroups.comopensocial-orkut%2bunsubscr...@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-or...@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] Resposta do Google sobre o Orkut
Desculpem pelo crosspost, mas depois do e-mail do Alex, decidi fazer contato com o product manager do Orkut, apenas para ter certeza que os problemas estão endereçados e que teremos uma breve solução. Recebi a resposta há alguns minutos atrás, e boas notícias virão até o final da semana: *Oi, Robson.* * * *Infelizmente, estamos de acordo. Estamos trabalhando nesse momento e já temos correções para a maioria dos problemas. Devemos ter a maioria no ar ainda nessa semana.* * * *Muito obrigado pelo suporte contínuo e por nos ajudar a ver quando estamos mal :-X* Achei justo da parte dele assumir os problemas e passar uma previsão. Até o final da semana, vou fazer um follow-up e com certeza vocês poderão dizer com certeza, ou não, como as coisas andaram. Pelo histórico, tenho certeza que estarão melhor. um abraço, Robson -- Mensagem encaminhada -- De: Alex Porto alex.itaj...@gmail.com Data: 2 de novembro de 2010 20:20 Assunto: [sp-gtug] Orkut Para: sp-g...@googlegroups.com Oi pessoal. Essa msg é mais específica para o Bruno Oliveira, mas acho que é de interesse geral. Acabei de mandar uma mensagem para o grupo orkut-opensocial, reclamando de um problema que foi relatado na semana passada, e até agora não teve nenhuma resposta. Não quero fazer cross-posting, então não estou escrevendo pra relatar duas vezes o mesmo problema. Eu gostaria é de falar sobre o suporte aos desenvolvedores do Orkut. Eu assisti o painel de jogos sociais no GDD deste ano. De todas as palestras que assisti, essa foi a única onde vi usuários meio desiludidos com o uso da API. Um deles até chegou a fazer uma pergunta meio revoltado no final (Não era eu, mas pretendia fazer uma pergunta sobre o mesmo assunto e desisti depois disso). Eu entendi que vocês não podem dar muitas informações sobre o que vem por aí, por decisão estratégica da empresa. Porém, do nosso lado fica difícíl trabalhar sem informações. Como eu disse no outro e-mail, é muito frustrante gastar tempo e recursos desenvolvendo uma aplicação para o Orkut e depois vê-la desaparecer da listagem e os usuários minguarem. Não que o suporte seja inexistente. Temos bons samaritanos no Google como o Robson e outros que sempre ajudam os menos instruídos como eu. O pessoal da empresa também muitas vezes responde e dá informações sobre andamento de correções de bugs. Mas ainda temos problemas que levam semanas para serem corrigidos, e esse é um tempo muito grande para o padrão Google. Abraços, Alex. -- Você está recebendo esta mensagem porque se inscreveu no grupo sp-gtug dos Grupos do Google. Para postar neste grupo, envie um e-mail para sp-g...@googlegroups.com. Para cancelar a inscrição nesse grupo, envie um e-mail para sp-gtug+unsubscr...@googlegroups.comsp-gtug%2bunsubscr...@googlegroups.com . Para obter mais opções, visite esse grupo em http://groups.google.com/group/sp-gtug?hl=pt-BR. -- 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-or...@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] using more than the each() function for viewer and owner friends: viewerFriends.each()
Hi, Just to clarify, Orkut uses Shindig - which is an opensocial container - to allow users to develop and run social apps on it. Shindig is responsible for the api´s you are talking about. More info:http://shindig.apache.org/ http://shindig.apache.org/I dont know if there is a detailed documentation for each function available. In my case, everytime I need to understand what is available, get the source code and read. Maybe not the easiest way to go, but in the other hand, give me a deep understanding about what happens behind the scene. Example: gadgets.io implementation: http://svn.apache.org/repos/asf/shindig/trunk/features/src/main/javascript/features/core.io/io.js http://svn.apache.org/repos/asf/shindig/trunk/features/src/main/javascript/features/core.io/io.js Regards, Robson Dantas 2010/10/14 DevenH dev...@gmail.com It is great that orkut provides us with an each() function to use when we get back viewerFriends or ownerFriends, but what other methods are available? for example, is there a: viewerFriends.push() or viewerFriends.pop()? I tried the above but they did not work. when i am testing scenarios where users of my app have very few friends or many friends i would like to manipulate the data returned after i do a newFetchPeopleRequest to retrieve owner or viewer friends. i'm bit of a newbie, so i apologize if there is an easy way to do this. 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-or...@googlegroups.com. To unsubscribe from this group, send email to opensocial-orkut+unsubscr...@googlegroups.comopensocial-orkut%2bunsubscr...@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-or...@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] How to use opensocial on asp.net page loaded inside the iframe under the gadget.xml?
You wont be able to do that using iframe. To get access to opensocial javascript API you will need to develop a standard gadget, which means you probably need to rewrite. There is a workaround, which might work, using 2legged oauth library to make social calls. But it've never tested. Regards, Robson Dantas 2010/10/14 kbundy slam...@gmail.com Hello I am currently trying the orkut opensocial. I have upload a gadget.xml file to orkut. Inside the xml file, i placed an iframe that load my aspx page so i can code using c#. In the gadget.xml file, i can use opensocial object to make request. Inside the page of the iframe, I cannot get the opensocial object. I tried calling a function that returning opensocial object from the parent document but i received an access denied. I search on google about accessing the parent function problem, I suspected that the problem due to the cross-domain policy since the gadget.xml was running on the same domain as the page in the iframe. Now, I would like to ask how do i able to call that opensocial object from the parent document inside the page of the iframe? or how can I make a request to get the same opensocial object inside the page of the iframe -- 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-or...@googlegroups.com. To unsubscribe from this group, send email to opensocial-orkut+unsubscr...@googlegroups.comopensocial-orkut%2bunsubscr...@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-or...@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: Not getting viewer data from submitted app
Same here. Seems that Shindig is causing major issues. Maybe someone from Google can help ? -Robson Dantas 2010/10/12 george weinberg gmweinb...@gmail.com I am using data pipelining to request the viewer information. Is that not working outside the sandbox? -- 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-or...@googlegroups.com. To unsubscribe from this group, send email to opensocial-orkut+unsubscr...@googlegroups.comopensocial-orkut%2bunsubscr...@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-or...@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] Library for Orkut Client in asp.net (C sharp) or javascript
Yes, there's. 3legged oauth is built to be used outside orkut. There's a in-progress javascript library being created - Allan may help to give some details, but I dont know the status for csharp. Java is running pretty well, also PHP (which i created). If you want to try, just follow this links: code.google.com/p/orkut-os-client code.google.com/p/orkut-os-client-php Regards Robson Dantas 2010/10/12 Jashwant Singh Jatt jashwantsi...@gmail.com The library imported by Harshit at http://code.google.com/p/orkut-oauth-api-csharp/ gives error. Please provide me a way to use orkut client by asp.net or javascript. One more question: Is there any way to get orkut data (user's data at orkut) on my website i.e. Can I get user's data outside orkut domain ?? -- 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-or...@googlegroups.com. To unsubscribe from this group, send email to opensocial-orkut+unsubscr...@googlegroups.comopensocial-orkut%2bunsubscr...@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-or...@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] Issue while fetching viewer, viewer_friends, has_app_owner_friends from API call in sandbox account
Fernando, technically what Prameela wrote is correctly. If the viewer is your friend you can get information, otherwise viewer friends won't work. Prameela, can you post your code or show your app URL to make a test Regards Robson Dantas 2010/10/8, Fernando Torres nandotor...@gmail.com: please, read this snip from the official tutorial http://wiki.opensocial.org/index.php?title=The_Persistence_API#Who_can_see_VIEWER_data.3F On Fri, Oct 8, 2010 at 8:30 AM, prameela raju prameelachan...@gmail.comwrote: Is this updated recently, as I developed many apps with this functionality. Please let me know... On Fri, Oct 8, 2010 at 4:57 PM, Fernando Torres nandotor...@gmail.comwrote: You can't do that. Your app is unable to get any information about the viewer if he doesn't have the app added in your own profile, even if it is viewing app in a friend profile. On Fri, Oct 8, 2010 at 8:13 AM, prameela raju prameelachan...@gmail.com wrote: Hi Fernando, Thanks for responding. Viewer has not installed the application yet but viewer can view the application from his friend's profile right!! So I am trying for that functionality... On Fri, Oct 8, 2010 at 4:31 PM, Fernando Torres nandotor...@gmail.com wrote: Hum... The viewer has the application installed at your profile? On Fri, Oct 8, 2010 at 1:35 AM, prameela raju prameelachan...@gmail.com wrote: Hi, I am developing new app on orkut from sandbox.orkut.com, there is an issue while fetching the viewer and viewer friends data from opensocial API call. When I am trying to fetch the owner, owner_friends, viewer and viewer_friends there is an error in data response for viewer and viewer_friends: {id:viewer,error:{message:forbidden: Get profile permission denied., data:{errorType:noPermissions},code:403}}, {id:viewer_friends_data,error:{message:forbidden: Friend permission not granted, data:{errorType:noPermissions},code:403}} I have an issue even while fetching has_app_owner_friends from API call, this is returned as null. Please help me with this as soon as possible. -- Thanks in Advance, Prameela Dantuluri -- 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.comopensocial-orkut%2bunsubscr...@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-or...@googlegroups.com. To unsubscribe from this group, send email to opensocial-orkut+unsubscr...@googlegroups.comopensocial-orkut%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/opensocial-orkut?hl=en. -- prami -- 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-or...@googlegroups.com. To unsubscribe from this group, send email to opensocial-orkut+unsubscr...@googlegroups.comopensocial-orkut%2bunsubscr...@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-or...@googlegroups.com. To unsubscribe from this group, send email to opensocial-orkut+unsubscr...@googlegroups.comopensocial-orkut%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/opensocial-orkut?hl=en. -- prami -- 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-or...@googlegroups.com. To unsubscribe from this group, send email to opensocial-orkut+unsubscr...@googlegroups.comopensocial-orkut%2bunsubscr...@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-or...@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-or...@googlegroups.com. To unsubscribe from this group, send email to opensocial-orkut+unsubscr...@googlegroups.com. For more options, visit this group
Re: [orkut-developer] How to find friends of friends?
Opensocial specification supports this feature - it's called NETWORK_DISTANCE, but depends if the container implements it. Orkut doesnt implement; it's a really expensive query. See this thread, posted by Chris Chabot http://markmail.org/message/yoj77kt772zvd4nd#query:opensocial%20network_distance+page:1+mid:ty5b34i7dveup6xm+state:results http://markmail.org/message/yoj77kt772zvd4nd#query:opensocial%20network_distance+page:1+mid:ty5b34i7dveup6xm+state:results Regards Robson Dantas 2010/10/6 Igo Amauri igoama...@gmail.com Hi, I want to build an application that access data from friends of my friends, can i? For example, I have a application installed in my profile and someone is my friend, so i access data from the friends of this person that aren't my friends. -- Igo Amaurí dos Santos Luz 9º semestre - Engenharia de Computação Egresso do PET Engenharia de Computação Integrante do Diretório Acadêmico - DEBUG *Universidade Estadual de Feira de Santana* Gtalk: igoama...@gmail.com E-mail: igoama...@gmail.com -- 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-or...@googlegroups.com. To unsubscribe from this group, send email to opensocial-orkut+unsubscr...@googlegroups.comopensocial-orkut%2bunsubscr...@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-or...@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] How to find friends of friends?
If I recall correctly, Myspace allows. On Facebook you can check if 2 ids are friends, but can't get FoF (and it doesn't run opensocial, though). Regards Robson Dantas 2010/10/7, Igo Amauri igoama...@gmail.com: Thank you Robson, So if i want to build a application that do this i will need to work with another container? Because currently i'm using Orkut. Do you know another container that suport NETWORK_DISTANCE? On Thu, Oct 7, 2010 at 5:19 PM, Robson Dantas biu.dan...@gmail.com wrote: Opensocial specification supports this feature - it's called NETWORK_DISTANCE, but depends if the container implements it. Orkut doesnt implement; it's a really expensive query. See this thread, posted by Chris Chabot http://markmail.org/message/yoj77kt772zvd4nd#query:opensocial%20network_distance+page:1+mid:ty5b34i7dveup6xm+state:results http://markmail.org/message/yoj77kt772zvd4nd#query:opensocial%20network_distance+page:1+mid:ty5b34i7dveup6xm+state:results Regards Robson Dantas 2010/10/6 Igo Amauri igoama...@gmail.com Hi, I want to build an application that access data from friends of my friends, can i? For example, I have a application installed in my profile and someone is my friend, so i access data from the friends of this person that aren't my friends. -- Igo Amaurí dos Santos Luz 9º semestre - Engenharia de Computação Egresso do PET Engenharia de Computação Integrante do Diretório Acadêmico - DEBUG *Universidade Estadual de Feira de Santana* Gtalk: igoama...@gmail.com E-mail: igoama...@gmail.com -- 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-or...@googlegroups.com. To unsubscribe from this group, send email to opensocial-orkut+unsubscr...@googlegroups.comopensocial-orkut%2bunsubscr...@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-or...@googlegroups.com. To unsubscribe from this group, send email to opensocial-orkut+unsubscr...@googlegroups.comopensocial-orkut%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/opensocial-orkut?hl=en. -- Igo Amaurí dos Santos Luz 9º semestre - Engenharia de Computação Egresso do PET Engenharia de Computação Integrante do Diretório Acadêmico - DEBUG *Universidade Estadual de Feira de Santana* Gtalk: igoama...@gmail.com E-mail: igoama...@gmail.com -- 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-or...@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-or...@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: How to find user's Orkut community or groups
Sambe, Api doesn't support comunnities yet. -Robson Dantas 2010/10/6 Ambe International ambein...@gmail.com Hi Vijaya, I have an application where i have to post new topics on my Community,is there any updates or any other option i can do this?is the API for this is now available, i have successfully followed the OAuth dance to get the profile information of the user but it's really very urgent to go with accessing community. Thanks, Sambe. -- 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-or...@googlegroups.com. To unsubscribe from this group, send email to opensocial-orkut+unsubscr...@googlegroups.comopensocial-orkut%2bunsubscr...@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-or...@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] Orkut Application in my website (outside orkut)
I dont know the status of the project, but there's a C# project: https://code.google.com/p/orkut-oauth-api-csharp/ https://code.google.com/p/orkut-oauth-api-csharp/Let us know how it goes. -Robson Dantas 2010/10/4 Jashwant Singh Jatt jashwantsi...@gmail.com I've developed an orkut app inside orkut. But now I wanted an orkut application in my website. I am not familiar with java/php. Is there any method to develope orkut application on my website (outside orkut) in .net (C#) or javascript ?? I tried friends connect but no luck :( -- 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-or...@googlegroups.com. To unsubscribe from this group, send email to opensocial-orkut+unsubscr...@googlegroups.comopensocial-orkut%2bunsubscr...@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-or...@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] Bad scope parameter
Hi Maximiliano, Can you make the same test using my php library to see how it goes? http://www.dxs.com.br/os-3leg/test/ http://www.dxs.com.br/os-3leg/test/How are you passing scope parameter to oauth ? Which language are you using ? Give us more details. -Robson Dantas 2010/9/30 maximiliano tosca maxito...@gmail.com Hello! I'm in a need for help! I'm having the following problem: I'm developing an app that does a 3-legged oauth authentication to log-in to Orkut using Orkut OS client library. I've set this OAuthAuthorizationUrl: https://www.google.com/accounts/OAuthAuthorizeToken. I have no problems when I log-in with any normal Google account. I enter my email and password and step into my app. The issue happens when I try to authenticate with an account of another google app (an email account in this case -not Gmail- ) which I had also registered as a Google account. For example, I have a Google App mailing service at @mydomain.com and my email address is maximili...@mydomain.com. Let's suppose that i've registered this email as a Google account and I can now log-in into Orkut using this email address. Now, if I'm logged in mydomain.com email account, when I try to log-in to my app using oauth, the Google accounts service redirects me to a page where I can select an email address to use to log-in to my app and if I choose this maximili...@mydomain.com address I get: 'The scope parameter was bad or missing.' error. The thing is that when I choose this type of email account (Google app) and I'm logged-in to it, I get redirected to https://www.google.com/a/mydomain.com/OAuthAuthorizeToken?oauth_token=scope=http%3A%2F%2Forkut.gmodules.com%2Fsocial instead of https://www.google.com/accounts/OAuthAuthorizeToken?oauth_token=scope=http%3A%2F%2Forkut.gmodules.com%2Fsocial as it should be. I have no idea how to fix this or avoid this redirection from Google. If anyone knows how to do this I'll be very grateful. Thanks! -- Atte: Maximiliano Tosca -- 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-or...@googlegroups.com. To unsubscribe from this group, send email to opensocial-orkut+unsubscr...@googlegroups.comopensocial-orkut%2bunsubscr...@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-or...@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] Submitting application error: Estes campos estão faltando no seu gadget: description
If i recall correctly, there is a minimum amount of chars you have to use. Try it, and let us know. PS: Is there any reason why you are submitting a test app ? Or is it just on sandbox ? -Robson Dantas 2010/9/26 jaugusto augusto.u...@gmail.com Hi, I am getting this error about missing description, but there is a Description in ModulePrefs as you can see below. Any suggestion? Thanks is in advance. ?xml version=1.0 encoding=UTF-8 ? Module ModulePrefs title=name description='about ur apps! author=Branedge author_email=[EMAIL PROTECTED] thumbnail=urlogo/logo.gifhttp://a1.twimg.com/profile_images/ 1131988169/89369a82-869b-476d-a215-4ddb17dadaed_bigger.png screenshot=http://a3.twimg.com/profile_background_images/152476819/ _ndice.jpg Require feature=opensocial-0.7/ Require feature=dynamic-height/ Require feature=views/ Require feature=tabs/ /ModulePrefs Content type=html ![CDATA[ Hello, world! ]] /Content /Module -- 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-or...@googlegroups.com. To unsubscribe from this group, send email to opensocial-orkut+unsubscr...@googlegroups.comopensocial-orkut%2bunsubscr...@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-or...@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] Orkut java client not working
Can you please take a look in your properties file and check which endpoint you are using ? -Robson Dantas 2010/9/26 sansun08 csshankaravadi...@gmail.com Wrote a photo application for Orkut. Everything was working fine till yesterday. Since today all my API calls are failing. Here is the extract of the exception I get. Failed to fetch orkut albums java.lang.RuntimeException: Unexpected exception while setting response Any help appreciated. -- 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-or...@googlegroups.com. To unsubscribe from this group, send email to opensocial-orkut+unsubscr...@googlegroups.comopensocial-orkut%2bunsubscr...@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-or...@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] Update - Authentication on Orkut PHP Library
Hi guys! Last weekend I spent some time debugging my code to have an idea about why I'm getting frequently authorization failed or invalid signature when authenticating on Orkut using 3LO. The conclusions are: 1) The problem occurs 99% during the process of upgrading an access token. One thing that I noticed is related to access tokens containing scaped characters like '/'. 2) My lib was not using Authorization: OAuth ... in the header. For some reason it was passing all oauth attributes via querystring (another libs are doing the same), and when changed to the headers, magically, didn't get any errors anymore, which makes me believe that there's an issue on google auth process passing attributes via querystring. 3) Started passing oauth_callback to the authorization header, and also, oauth_verifier, which is required. Tested 10+ times to check if I get the authentication problem, and everything looks fine. Commited a fix few minutes ago, and your help to test it is appreciated. @Tiago @Prasant , any comments ? -Robson Dantas -- 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-or...@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: Sandbox is down?
Same here. Also noticed that Orkut was attacked these days with spam and community flood. Really bad. - Robson Dantas @robsondantas 2010/9/25 anatoly anato...@gmail.com Anyone from orkut team can comment? I'm getting the following error on FF: Não foi possível acessar o orkut. Verifique sua conexão com a internet. on IE: Que feio, servidor! Você não pode fazer isso. Sandbox is not loading. Main orkut is working fine. What's up? On Sep 25, 5:27 am, anatoly anato...@gmail.com wrote: Can't connect to sandbox on any browser, getting bad server or unable to verify errors. What's happening? Main orkut is working fine. -- 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-or...@googlegroups.com. To unsubscribe from this group, send email to opensocial-orkut+unsubscr...@googlegroups.comopensocial-orkut%2bunsubscr...@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-or...@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: OAuth: Timestamp Refused
Tiago, Yes, I'm still getting authentication problems on sandbox and production. Allan (another guy who is creating a Javascript library), also reported errors on sandbox. Is it a confirmed issue ? Anything already done to solve? -Robson Dantas 2010/9/8 Robson Dantas biu.dan...@gmail.com My endpoint is pointing to production. Will switch to sandbox and see how it goes. Any fix applied ? -Robson Dantas 2010/9/8 Tiago Silveira (Google) t...@google.com Robson, are you still getting this error in sandbox? Is anyone else getting this error? On Jul 19, 11:30 am, Robson Dantas biu.dan...@gmail.com wrote: Hi, I have already sent this bug to Prashant (Google), and he filled a bug. It's affecting both: 2-legged and 3-legged calls. On saturday I switched my environment to production, and it was a bit better, but still showing the error. Regards, -Robson Dantas 2010/7/19 ashley.gwinn...@mediatonic.co.uk ashley.gwinn...@mediatonic.co.uk Hi Orkut! I am receiving an OAuth Authentication Failure with message timestamp_refused and error number 401. Here are two examples of my OAuth requests: http://sandbox.orkut.com/social/rest/people/@me/@friends?fields=displ. .. http://sandbox.orkut.com/social/rest/people/@me/@self?fields=displayN. .. Any help would be appreciated. -- 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-or...@googlegroups.com. To unsubscribe from this group, send email to opensocial-orkut+unsubscr...@googlegroups.comopensocial-orkut%2bunsubscr...@googlegroups.comopensocial-orkut%2Bunsubscrib e...@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-or...@googlegroups.com. To unsubscribe from this group, send email to opensocial-orkut+unsubscr...@googlegroups.comopensocial-orkut%2bunsubscr...@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-or...@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] Does orkut onsite application allow only xml url ?
Hi, There are 2 models you can follow: 1- A regular opensocial app, which is mandatory having a xml file, in order to have your app inside Orkut directory. In this case, you need to inform where your xml is located; 2- Develop you app using 3legged oauth library, which you can have Orkut social features embed on your site. Libs available: code.google.com/p/orkut-os-client [java] code.google.com/p/orkut-os-client-php [php] -Robson Dantas 2010/9/21 kbundy slam...@gmail.com Hello, I am first started in this orkut social network. I am confused with the registration of the onsite application compare with facebook or myspace. On facebook and myspace, developer creates their onsite application using their own server code. I went to upload the application page, it require me to upload the gadget xml file of our application. Does orkut allow us to have aspx or pages instead of xml? -- 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-or...@googlegroups.com. To unsubscribe from this group, send email to opensocial-orkut+unsubscr...@googlegroups.comopensocial-orkut%2bunsubscr...@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-or...@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] Orkut Oauth
I think we closed this discussion on orkut-php-client library, right ? Regards Robson Dantas 2010/9/21 Dennis Monsewicz dennismonsew...@gmail.com Ok I downloaded the orkut os client lib But when I point my browser to http://myurl.com/orkut-os/test and login and I am redirected (after granting permission) to auth.php I am getting a blank page. Shouldn't my information (fullname, email address) be displayed on the page? Thanks! Dennis On Tue, Sep 21, 2010 at 12:04 PM, Robson Dantas biu.dan...@gmail.comwrote: You are using php osapi, not the library i mentioned before. Download it again from: code.google.com/p/orkut-os-client-php http://code.google.com/p/orkut-os-client-phpAlso read the page. There is a sample included, which allows you to grab scraps, send scraps, reading friends. -Robson Dantas 2010/9/21 Dennis Monsewicz dennismonsew...@gmail.com I downloaded the PHP library and have got it somewhat working inside of the CodeIgniter Library Here is my code: class Orkut_api extends osapi { public function __construct($params = array()) { $this-provider = new osapiOrkutProvider(); $this-signer = new osapiOAuth2Legged(orkut.com:consumer_key, consumer_secret); } public function makeConnection() { $osapi = new osapi($this-provider, $this-signer); return $osapi; } } but for some reason I am only getting back the osapi object but I am not sure as to what do with it. I am trying to authenticate a user through my site, but am having the hardest time. Sorry for being ignorant to this, I am just new to working with this set of APIs. Thanks for all of your help thus far! Dennis On Mon, Sep 20, 2010 at 6:23 PM, Robson Dantas biu.dan...@gmail.comwrote: Yes, using OAuth. Java: http://code.google.com/p/orkut-os-client PHP: code.google.com/p/orkut-os-client-php Take a look there. -Robson Dantas 2010/9/20 Dennis Monsewicz dennismonsew...@gmail.com I am writing a application that will allow users to pull in information from their orkut accounts (ie, first and last name and email address) but I am lost as to how to go about doing this. Does Orkut work in the same way Facebook does in allowing users to authenticate through another website? -- 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.comopensocial-orkut%2bunsubscr...@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-or...@googlegroups.com. To unsubscribe from this group, send email to opensocial-orkut+unsubscr...@googlegroups.comopensocial-orkut%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/opensocial-orkut?hl=en. -- Dennis Monsewicz Jr. Web Designer/Developer Cell: (256) 339-8716 www.dennismonsewicz.com -- 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-or...@googlegroups.com. To unsubscribe from this group, send email to opensocial-orkut+unsubscr...@googlegroups.comopensocial-orkut%2bunsubscr...@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-or...@googlegroups.com. To unsubscribe from this group, send email to opensocial-orkut+unsubscr...@googlegroups.comopensocial-orkut%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/opensocial-orkut?hl=en. -- Dennis Monsewicz Jr. Web Designer/Developer Cell: (256) 339-8716 www.dennismonsewicz.com -- 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-or...@googlegroups.com. To unsubscribe from this group, send email to opensocial-orkut+unsubscr...@googlegroups.comopensocial-orkut%2bunsubscr...@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-or...@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] Stuck in Authorization loop
When authenticated, your access token is stored in a session. After signing in, for some reason, if the session is not created, you will get redirected again to Google's authentication website. You need to check if this session is being created, in order to avoid this. Open the test and check how the session is being handled. Another solution is storing it on cookies, like the java library is doing. But again, it depends how your environment is configured. -Robson Dantas 2010/9/22 Dennis dennismonsew...@gmail.com I am trying to port the library over to my CodeIgniter application and when I navigate to the url to access the orkut auth, I am sent over to google to grant my application access to my orkut account, but after accepting it keeps sending me back to step 1 with google to authorize my application to gain access. My CI Library require_once Orkut/globals.php; class Orkut_api { public $orkut_api; public $CI; public function __construct(array $orkut_params) { $this-orkut_api = new Orkut($orkut_params['consumer_key'], $orkut_params['consumer_secret']); $this-CI = get_instance(); } public function auth() { try { if($this-orkut_api-login()) { return WOOT; } } catch(Exception $e) { $this-CI-session-unset_userdata('oauth_token'); GenericError::stop(1, Can't authenticate an Orkut); } } } Any reason why I would be stuck in a loop? -- 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-or...@googlegroups.com. To unsubscribe from this group, send email to opensocial-orkut+unsubscr...@googlegroups.comopensocial-orkut%2bunsubscr...@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-or...@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] Orkut Oauth
Yes, using OAuth. Java: http://code.google.com/p/orkut-os-client PHP: code.google.com/p/orkut-os-client-php Take a look there. -Robson Dantas 2010/9/20 Dennis Monsewicz dennismonsew...@gmail.com I am writing a application that will allow users to pull in information from their orkut accounts (ie, first and last name and email address) but I am lost as to how to go about doing this. Does Orkut work in the same way Facebook does in allowing users to authenticate through another website? -- 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-or...@googlegroups.com. To unsubscribe from this group, send email to opensocial-orkut+unsubscr...@googlegroups.comopensocial-orkut%2bunsubscr...@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-or...@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] OAuth Authentication FailureOAuth Authentication Failure
Which endpoint are you using ? sandbox or production ? Tiago (from Google), asked me few days ago about testing it on sandbox environment, but I'm still getting this errors too (PHP lib). @Tiago, any update about this ? -Robson 2010/9/20 Allann Jones allan...@gmail.com Hi. I receiving the following intermittent error this week, many times: 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 Using OAuth, 3-legged, JavaScript. Why is this error happening so frequently? Thank you very much. -- -- 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-or...@googlegroups.com. To unsubscribe from this group, send email to opensocial-orkut+unsubscr...@googlegroups.comopensocial-orkut%2bunsubscr...@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-or...@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] Doubts about OSDE
Just to clarify: OSDE runs a Shindig Server (which is used by Orkut). Almost everything runs pretty well there. I use it to develop opensocial apps, because uploading a file everytime to Orkut and testing turns the development slow. By the way, there is an official OSDE list: opensocial-development-environm...@googlegroups.com Regards, Robson Dantas 2010/9/13 Igo Amauri igoama...@gmail.com Hi, Using OSDE in Eclipse, can i use the function of API Gadget? For example, can i run flash?, can i use tabs?. -- Igo Amaurí dos Santos Luz 9º semestre - Engenharia de Computação Egresso do PET Engenharia de Computação Integrante do Diretório Acadêmico - DEBUG Universidade Estadual de Feira de Santana Gtalk: igoama...@gmail.com E-mail: igoama...@gmail.com -- 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-or...@googlegroups.com. To unsubscribe from this group, send email to opensocial-orkut+unsubscr...@googlegroups.comopensocial-orkut%2bunsubscr...@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-or...@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] Suggestion for albums!
Better place to post it: http://www.google.com/support/forum/p/orkut?hl=pt-BR http://www.google.com/support/forum/p/orkut?hl=pt-BR-Robson Dantas 2010/9/13 Erlend Anderson erlendander...@live.com Hey, would it be possible to upload videos to your photo albums? They will be displayed just like images but if you click on them they will start buffering. It would be awesome feature! -- 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-or...@googlegroups.com. To unsubscribe from this group, send email to opensocial-orkut+unsubscr...@googlegroups.comopensocial-orkut%2bunsubscr...@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-or...@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.