[orkut-developer] Re: Fundamentals of OpenSocial and Orkut development

2008-09-12 Thread Jason

Check this page to see which orkut fields are available through the
API:

http://code.google.com/apis/orkut/docs/orkutdevguide.html#profiledatatable

Email, age, and street address are considered personally identifiable
information and are purposely unavailable (although you can petition
to make age available by starring the issue at
http://code.google.com/p/opensocial-resources/issues/detail?id=13).
City/locality and country are available, however. And sexual
orientation is not yet implemented but may be in the future.

- Jason

On Sep 11, 6:13 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
> Hi everyone,
>
> I've reading many Articles e Materials of OpenSocial and I'm trying to
> write simple applications, just to understand the technology, but I'm
> not understanding how to do some simple things like:
>
>  - Print my Address
>  - Print my Email
>  - Print my Sexual_Orientation
>  - Print my Age
>
> It seems to be simple to do this things but I can't do it.
>
> I'm using the following code:
>
> function loadFriends() {
>   var req = opensocial.newDataRequest();
>   req.add(req.newFetchPersonRequest('VIEWER'), 'viewer');
>
>   var params = {};
>   var params2 = {};
>   params[opensocial.DataRequest.PeopleRequestFields.PROFILE_DETAILS] =
> [opensocial.Person.Field.GENDER, opensocial.Person.Field.ABOUT_ME,
> opensocial.Person.Field.BOOKS,
> opensocial.Person.Field.LANGUAGES_SPOKEN,opensocial.Person.Field.SEXUAL_ORIENTATION];
>   params2[opensocial.DataRequest.PeopleRequestFields.PROFILE_DETAILS]
> = [opensocial.Person.Field.AGE];
>   req.add(req.newFetchPersonRequest('VIEWER', params), 'dinho');
>   req.add(req.newFetchPersonRequest('VIEWER', params2), 'dinho2');
>
>   req.send(onLoadFriends);
>
> }
>
> function onLoadFriends(data) {
>   var viewer = data.get('viewer').getData();
>   var dinho = data.get('dinho').getData();
>   var dinho2 = data.get('dinho2').getData();
>
>   html = new Array();
>   html.push('');
>   html.push('' + viewer.getDisplayName() + "");
>   html.push(''  + My Books: '+
> dinho.getField(opensocial.Person.Field.BOOKS));
>   html.push(''  + 'Languages: '+
> dinho.getField(opensocial.Person.Field.LANGUAGES_SPOKEN));
>   html.push(''  + 'Sexual Orientation: '+
> dinho.getField(opensocial.Person.Field.SEXUAL_ORIENTATION));
>   html.push(''  + 'About me: '+
> dinho.getField(opensocial.Person.Field.ABOUT_ME));
>   html.push(''  + 'Gender: '+
> dinho.getField(opensocial.Person.Field.GENDER).getDisplayValue());
>   html.push(''  + 'Age: '+
> dinho2.getField(opensocial.Person.Field.AGE));
>   html.push('');
>   document.getElementById('friends').innerHTML = html.join('');
>
> }
>
> function init() {
>   loadFriends();
>
> }
>
> On Age and Sexual Orientations, I'm receiveing the message
> "undefined", but I edited my profile to put this informations and I
> don't know what is happenig.
>
> Any help is important to me.
>
> Thanks for all.
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/opensocial-orkut?hl=en
-~--~~~~--~~--~--~---



[orkut-developer] Re: Changing App hosting URL

2008-09-12 Thread Jason

Are you sure that you're not referring to the old domain in your code
(e.g. in makeRequest statements)? Can you share the URL so I can have
a look?

- Jason

On Sep 11, 2:13 pm, ANkit <[EMAIL PROTECTED]> wrote:
> Hi All,
>       I am having trouble changing the hosting url of the app in
> sandbox. I did the following to change url:
> 1. remove app from sandbox. stage.example.com/gork.xml
> 2. added the app with new url. apps.example.com/gork.xml
>
> But when i load the app it connects to old url (stage.example.com/
> gork.xml) and i can confirm that by seeing db activities.
>
> How do i change to apps.example.com/gork.xml?
>
> Appreciate your help.
>
> 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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/opensocial-orkut?hl=en
-~--~~~~--~~--~--~---



[orkut-developer] Re: Don't understand the Technologies possible to write an application

2008-09-12 Thread Jason

You're quite right -- makeRequest is a vital function for most
OpenSocial applications, and a number of usage examples are available.
In addition to Raman's link, check out the following pages for
snippets demonstrating makeRequest:

http://code.google.com/p/opensocial-resources/wiki/GadgetsMakeRequest
http://code.google.com/apis/opensocial/articles/makerequest.html

On your back-end, all you need is a script that accesses data from
your database and returns the data as XML, JSON, or plain text. Then
you point makeRequest at this script, specify the content type, and it
will retrieve the data and invoke its callback when the data is
available. Let me know if you have any more questions on this.

- Jason

On Sep 11, 11:09 pm, Ramanpreet Singh <[EMAIL PROTECTED]> wrote:
> Hi Kogan
>
> I am sure this will get you 
> started.http://code.google.com/apis/opensocial/docs/0.7/devguide.html#Remote_...
>
> Raman
>
> Kogan wrote:
> > Hi again,
>
> > I have a question regarding "makeRequest" now -
> > I read the article about it, but I didn't quite understand it all the
> > way:
>
> > because it seems to me that this is the most important and most used
> > method I'll ever use (because most of the
> > time I'll address my DataBase, for example)  -  and I didn't find a
> > SIMPLE example on how to retrieve something from my DataBase do it.
> > I guess I need to understand better how are these asynchronous calls
> > handled on my back end server ?(is there a reading material about
> > that?) and then maybe the picture will be clearer...
>
> > As you can see, I need some clarifications
> > (maybe some of the questions above are quite trivial, sorry about that
> > too)
>
> >  :)
>
> > Thanks,
> > Kogan.
>
> > On Jul 29, 2:07 am, Jason <[EMAIL PROTECTED]> wrote:
>
> >> My reply in the thread below might help explain things a bit:
>
> >>http://groups.google.com/group/opensocial-orkut/browse_thread/thread/...
>
> >> In general, yes, you can build an OpenSocial application entirely with
> >> JavaScript inside a gadget (XML) wrapper. But a lot of apps have back-
> >> end components as well for tasks such as storing data in a database
> >> (although you can store data using OpenSocial's persistence API in
> >> JavaScript, the data size limit is small so a database is often
> >> necessary). These back-ends can be in any language you please
> >> including JSP,Java, PHP, Python, and so forth. The gadgets library
> >> includes a useful method, gadgets.io.makeRequest, that makes sending
> >> asynchronous, cross-domain requests securely to your back-end and
> >> retrieving XML, JSON, or plain text responses very easy.
>
> >>http://code.google.com/apis/opensocial/docs/0.7/reference/gadgets.io
>
> >> In summary, a back-end component is completely optional but highly
> >> useful, and the gadgets library makes it easy to communicate with your
> >> back-end from your client-side code. Please let me know if you have
> >> any questions on this.
>
> >> - Jason
>
> >> On Jul 26, 7:24 am, Kogan <[EMAIL PROTECTED]> wrote:
>
> >>> Basically, I'm a bit new to Web-Programming in general.
>
> >>> I did read a lot of material about open-social, and Google gadgets,
> >>> intending to write an application for Orkut.
> >>> But, one thing I don't understand - which Technologies can I use for
> >>> this purpose?
>
> >>> According to what I've read, a gadget is a simple xml file, usingjava
> >>> script and Open Social API. and That's it. (?)
>
> >>> But, an application might consist of a Data Base to manage, the
> >>> communication with the user of the application, etc...
> >>> Canjavascript support all these needs?
> >>> I don't need things such as ASP.net (for the database), JSP,Java, PHP
> >>> etc... (things that one mentioned to me when I told him about the
> >>> idea)
>
> >>> Really appreciate if someone could clarify the subject for me and/or
> >>> direct me to a reading material?
>
> >>> Thanks 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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/opensocial-orkut?hl=en
-~--~~~~--~~--~--~---



[orkut-developer] Re: Size of the canvas and profile

2008-09-12 Thread Jason

Thanks for the note about the inconsistency, Frisoni. I'll make sure
this is taken care of shortly.

- Jason

On Sep 10, 6:47 pm, Frisoni <[EMAIL PROTECTED]> wrote:
> Hi Jason,
>
> you should update this link about orkut 
> anatomy:http://code.google.com/intl/en-US/apis/orkut/articles/anatomy.html
> It says wrong, or at least different from other page, maximum width for
> canvas view.
> Anyway, I use width=99% for both profile and canvas view.
>
> Frisoni
>
> On Wed, Sep 10, 2008 at 18:43, Jason <[EMAIL PROTECTED]> wrote:
>
> > The orkut Developer Guidelines document lists the horizontal bounds
> > for the profile and canvas under the "User Experience" section:
>
> >http://code.google.com/apis/orkut/docs/orkutdevguidelines.html#experi...
>
> > It looks like the maximum height of the profile view is around 485
> > pixels or so. If your content exceeds this height, vertical scrollbars
> > will appear, so you should design your content to fit comfortably
> > within the frame dimensions.
>
> > - Jason
>
> > On Sep 9, 5:10 pm, Ricardo <[EMAIL PROTECTED]> wrote:
> > > Hello people! What is the max size of the canvas and the profle views?
> > > Just it, thanks 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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/opensocial-orkut?hl=en
-~--~~~~--~~--~--~---



[orkut-developer] Re: How Long Will Orkut Takes To Approve a application

2008-09-12 Thread Jason

Generally, you should hear from your reviewer within 24 to 48 hours of
submission. While you don't have to have a sandbox account in order to
submit an app, I don't know how you would develop the app in the first
place without access to the sandbox. Our reviewers will reject an
application if it's buggy or otherwise doesn't work properly, so you
should thoroughly test your apps in the sandbox before submitting.

- Jason

On Sep 11, 4:59 am, scrappur <[EMAIL PROTECTED]> wrote:
> How Long Will Orkut Takes To Approve a application?
> Is Singnup To Orkut Sandbox Necessary To Get approval On Orkut
> application
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/opensocial-orkut?hl=en
-~--~~~~--~~--~--~---



[orkut-developer] Re: Unable to retrieve orkut user id

2008-09-12 Thread Jason

I believe the problem here is not the UID regular expression (which I
verified is working as expected) but the way you're retrieving the
UID. opensocial.DataRequest.send is an asynchronous call which means
it's non-blocking -- after send is executed, your other code will
continue to run until the VIEWER information is available at which
point the callback (userIdResponse in this case) is invoked.

Basically, you're trying to use uid too quickly -- since uid is not
initialized, it defaults to undefined (i.e. 0 or false). Asynchronous
programming has a bit of a learning curve, but it can be very
powerful. If I were you, I would retrieve and store the UID when the
application first loads, then load the user interface that allows a
user to add a movie. Then, you have the UID ready if/when addMovie is
invoked later.

Please let me know if you have any more questions about this issue or
asynchronous programming in general.

- Jason

On Sep 11, 10:55 am, laden <[EMAIL PROTECTED]> wrote:
> I am using the following code but I am unable to retreive the user id.
>
> function userIdrequest() {
>     var params = {};
>     params[opensocial.DataRequest.PeopleRequestFields.PROFILE_DETAILS]
> = [opensocial.Person.Field.PROFILE_URL];
>     var req = opensocial.newDataRequest();
>     req.add(req.newFetchPersonRequest("VIEWER", params), "viewer");
>     req.send(userIdresponse);
>   };
>
>           function userIdresponse(data) {
>                 var viewer = data.get("viewer").getData();
>                 var profile_url =
> viewer.getField(opensocial.Person.Field.PROFILE_URL);
>                 var regex = /uid=([^&#]+)/;
>                 var result = profile_url.match(regex);
>                 if (result.length == 2) {
>                    var uid = result[1];
>                    return uid;
>                     /* uid now contains the viewer's orkut UID */
>                 } else {
>                   /* there was a problem getting the UID */
>                 }
>
>           };
>
> function addMovie(myMovieId,linkId){
>                 var params = {};
>                 var uid = userIdrequest();
>                 var postdata = {
>                                 movieId : myMovieId,
>                                 userId : uid,
>                                 };
>         params[gadgets.io.RequestParameters.METHOD] =
> gadgets.io.MethodType.POST;
>                 params[gadgets.io.RequestParameters.POST_DATA] =
> gadgets.io.encodeValues(postdata);
>                 var url = "http://myserver.com/addMovie";;
>                 gadgets.io.makeRequest(url, addMovieMsg, params);
>
> }
>
> But I am getting 0 as user id.
> Please help me to solve this problem.
> Thanq 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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/opensocial-orkut?hl=en
-~--~~~~--~~--~--~---



[orkut-developer] Re: newUpdatePersonAppDataRequest error

2008-09-12 Thread Jason

Hi Marcelo. Yes, newUpdatePersonAppDataRequest doesn't appear to be
working on the sandbox at the moment. If you haven't already, please
file a new bug report in the OpenSocial issue tracker:

http://code.google.com/p/opensocial-resources/wiki/IssuesTab?tm=3

Until this bug is resolved, you should be able to continue your
testing on http://prod.sandbox.orkut.com. Please let me know if you
run into any other issues.

- Jason

On Sep 11, 6:25 am, Marcelo Gonella <[EMAIL PROTECTED]> wrote:
> I'm trying to persist an Array of custom objects and I'getting an
> error that I can't figure out.
>
> var pictPanel = new Array();
>
> function Pict(id, fileName, name, w, h) {
>         this.fileName = fileName;
>         this.w = w;
>         this.h = h;
>         this.name = name;
>         this.id = id;
>         this.x = 0;
>         this.y = 0;
>     }
> .
> .
> .
> function Add(pict) {
>        pictPanel[ pict.id ] = pict;}
>
> .
> .
> .
> function save() {
>           var json = gadgets.json.stringify(pictPanel);
>           var req = opensocial.newDataRequest();
>
> req.add( 
> req.newUpdatePersonAppDataRequest(opensocial.DataRequest.PersonId.VIEWER,
> 'myPanel', json) );
>           req.send(onReqSave);
>
> }
>
> My firebug says:
> json = {"1":{"fileName":"150x170.GIF","w":150,"h":170,"name":"Largura:
> 150 por Altura:170","id":1,"x":100,"y":100}}
> Response for req.send = [{"error":{"message":"notImplemented: Non-
> partial app data updates not implemented yet","code":501}}]
>
> Am I doing something wrong?
> Is it possible to be done? How can I solve this?
>
> Thanks in advance
>
> Marcelo Gonella
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/opensocial-orkut?hl=en
-~--~~~~--~~--~--~---



[orkut-developer] Re: Question about Open Social API

2008-09-12 Thread Jason

newUpdatePersonAppDataRequest is currently broken in the sandbox,
although it should be working in http://prod.sandbox.orkut.com. Can
you test your app here and see if that solves the issue?

- Jason

On Sep 11, 4:11 am, "[EMAIL PROTECTED]"
<[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I have created an application using the open social API. I am using
> the Persistence Data storage for storing the value. I am using the
> following code
>
>  function populateMyAppData() {
>      var req = opensocial.newDataRequest();
>         for(i=0;i         if(document.forms[0].mobile_number.value==""){
>         }else{
>         var arrayq=document.forms[0].all[i].value.split(" ");
>         var initial=arrayq[0];
>         alert(initial);
>                 if(document.forms[0].mobile_number[i].value==""){
>                 }else{
>                 alert(document.forms[0].mobile_number[i].value);
>                 req.add(req.newUpdatePersonAppDataRequest("VIEWER", initial,
> document.forms[0].mobile_number[i].value));
>                 }
>                 }
>                 }
>         alert("before sending the message:");
>         req.send(handlePopulateMyAppData, "update_appdata");
>         alert("After the method call");
>                 }
>
> function handlePopulateMyAppData(data) {
>      if (data.hadError()) {
>          alert("Error occured while saving it:");
>      }
>    }
> I am using the following code for storing the value but not able to do
> it Successfully can any body tell me what is wrong in the code given
> above. Thx 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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/opensocial-orkut?hl=en
-~--~~~~--~~--~--~---



[orkut-developer] Re: problem accessing Friends list using Personid

2008-09-12 Thread sushant

 The app i was trying to create called "Popularity Check"  would list
down  owners friends  with sorting and paging capability on data-
points  count of friends, coolness rating , sexy rating, etc.

Seems like none of these is possible right now.

What i am trying to do , does that qualify as social app at all ?

- Sushant -


On Sep 10, 5:16 pm, Jason <[EMAIL PROTECTED]> wrote:
> No, you can only get the list of friends for the application owner
> (OWNER) or the current user (VIEWER) and only if the current user has
> the application installed. You cannot get the friends of an arbitrary
> user at this time, so counting the number of friends of each friend in
> your friend list isn't possible, at least not directly.
>
> newFetchPersonRequest and newFetchPeopleRequest can take in a single
> OpenSocial ID and array of IDs respectively, but these fetch data for
> the persons corresponding to the IDs, NOT the friends of these
> persons. And if a given person does not have the application
> installed, no personal information (e.g. name, gender, etc.) will be
> accessible to your application, making it mostly useless.
>
> - Jason
>
> On Sep 9, 5:15 am,sushant<[EMAIL PROTECTED]> wrote:
>
> > I saw this links.   As per specs of open-social 0.7 i should be able
> > to pass Id or array of Ids to get Friends list.   I am not sure if
> > this is a bug or per design.
>
> > Basically i want to count the number of friends each of my friends
> > have.   Is there anyway i can do that  ?
>
> > -sushant -
>
> > On Sep 9, 12:57 am, Ramanpreet Singh <[EMAIL PROTECTED]> wrote:
>
> > > HiSushant
>
> > > No buddy, you can't access the friendlistthrough a person's ID.
> > > With Opensocial API 0.7 (current version orkut is running), you can only
> > > get OWNER_FRIENDS or VIEWER_FRIENDS.
> > > Check 
> > > thishttp://code.google.com/apis/opensocial/docs/0.7/devguide.html#ListFri...
> > > .
>
> > >sushantwrote:
> > > > I am trying to accessFriendslistusingperson Id
>
> > > > var req = opensocial.newDataRequest();
> > > > req.add(req.newFetchPeopleRequest(psersonId), 'key');
>
> > > > but keep getting error.   My questions.
>
> > > >   -  Is it necessary to have the app installed , if i want to get
> > > > the count offriendsfor one of myfriends.
>
> > > >   -  Can i access the coolness and sexy rating of  any of my
> > > >friends. ?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Orkut Developer Forum" group.
To post to this group, send email to opensocial-orkut@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/opensocial-orkut?hl=en
-~--~~~~--~~--~--~---



[orkut-developer] Fundamentals of OpenSocial and Orkut development

2008-09-12 Thread ivanildo...@gmail.com

Hi everyone,

I've reading many Articles e Materials of OpenSocial and I'm trying to
write simple applications, just to understand the technology, but I'm
not understanding how to do some simple things like:

 - Print my Address
 - Print my Email
 - Print my Sexual_Orientation
 - Print my Age

It seems to be simple to do this things but I can't do it.

I'm using the following code:

function loadFriends() {
  var req = opensocial.newDataRequest();
  req.add(req.newFetchPersonRequest('VIEWER'), 'viewer');

  var params = {};
  var params2 = {};
  params[opensocial.DataRequest.PeopleRequestFields.PROFILE_DETAILS] =
[opensocial.Person.Field.GENDER, opensocial.Person.Field.ABOUT_ME,
opensocial.Person.Field.BOOKS,
opensocial.Person.Field.LANGUAGES_SPOKEN,opensocial.Person.Field.SEXUAL_ORIENTATION];
  params2[opensocial.DataRequest.PeopleRequestFields.PROFILE_DETAILS]
= [opensocial.Person.Field.AGE];
  req.add(req.newFetchPersonRequest('VIEWER', params), 'dinho');
  req.add(req.newFetchPersonRequest('VIEWER', params2), 'dinho2');




  req.send(onLoadFriends);
}

function onLoadFriends(data) {
  var viewer = data.get('viewer').getData();
  var dinho = data.get('dinho').getData();
  var dinho2 = data.get('dinho2').getData();

  html = new Array();
  html.push('');
  html.push('' + viewer.getDisplayName() + "");
  html.push(''  + My Books: '+
dinho.getField(opensocial.Person.Field.BOOKS));
  html.push(''  + 'Languages: '+
dinho.getField(opensocial.Person.Field.LANGUAGES_SPOKEN));
  html.push(''  + 'Sexual Orientation: '+
dinho.getField(opensocial.Person.Field.SEXUAL_ORIENTATION));
  html.push(''  + 'About me: '+
dinho.getField(opensocial.Person.Field.ABOUT_ME));
  html.push(''  + 'Gender: '+
dinho.getField(opensocial.Person.Field.GENDER).getDisplayValue());
  html.push(''  + 'Age: '+
dinho2.getField(opensocial.Person.Field.AGE));
  html.push('');
  document.getElementById('friends').innerHTML = html.join('');
}

function init() {
  loadFriends();
}


On Age and Sexual Orientations, I'm receiveing the message
"undefined", but I edited my profile to put this informations and I
don't know what is happenig.

Any help is important to me.

Thanks for all.

--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/opensocial-orkut?hl=en
-~--~~~~--~~--~--~---



[orkut-developer] Changing App hosting URL

2008-09-12 Thread ANkit

Hi All,
  I am having trouble changing the hosting url of the app in
sandbox. I did the following to change url:
1. remove app from sandbox. stage.example.com/gork.xml
2. added the app with new url. apps.example.com/gork.xml

But when i load the app it connects to old url (stage.example.com/
gork.xml) and i can confirm that by seeing db activities.

How do i change to apps.example.com/gork.xml?

Appreciate your help.

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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/opensocial-orkut?hl=en
-~--~~~~--~~--~--~---



[orkut-developer] Res: [orkut-developer] Re: REST API - example code

2008-09-12 Thread Thiago Jankowski Stofella
ja resolvi o problema, nao necessito mais de suas respostas em ingles onde nao 
entendo nada!


  Novos endereços, o Yahoo! que você conhece. Crie um email novo com a sua 
cara @ymail.com ou @rocketmail.com.
http://br.new.mail.yahoo.com/addresses
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/opensocial-orkut?hl=en
-~--~~~~--~~--~--~---



[orkut-developer] Re: problem with opensocial.newDataReuqest()

2008-09-12 Thread agulla
I had a javascipt variable called opensocial in my application, which was
overwriting the opensocial namespace, once I changed it, it started working.

On Wed, Sep 10, 2008 at 11:05 PM, Jason <[EMAIL PROTECTED]> wrote:

>
> In case the link that Ramanpreet didn't work, you should post the URL
> of your application or, more preferably, a snippet of source that
> isn't working for you, so we can help you better. Please do this in
> any future threads in the future when you have problems with a
> particular piece of code.
>
> - Jason
>
> On Sep 8, 12:50 am, "[EMAIL PROTECTED]"
> <[EMAIL PROTECTED]> wrote:
> > I am developing an opensocial application to get the applicationId and
> > userId, profile owner and list of owner friends and emailId and the
> > application friendly name (the hosting application name f.e: orkut,
> > hi5, ning, xing from where ever the user access my application) and
> > want to send this info. to my remote server for mapping the users.
> >
> > I tried to use opensocial.newDataReuqest() method to get the same
> > info. But I have problems saying that the opensocial.newDataRequest()
> > is not a function and opensocial is not defined. I am writing my
> > application for all type of cotnainers
> >
> > Could any one please tell me.
> >
> > 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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/opensocial-orkut?hl=en
-~--~~~~--~~--~--~---