opensocial

How to upload files in opensocial 0.9 to an appserver?

Is it possible to upload files in an opensocial app to a remote appserver? I think of a scenario using gadgets.io.makeRequest with the method set to gadgets.io.MethodType.POST and pass a file input to the gadgets.io.RequestParameters.POST_DATA. ...

Only show activities from a specific gadget in OpenSocial

I created a gadget which is able to post activities: function postActivity(text) { var params = {}; params[opensocial.Activity.Field.TITLE] = text; var activity = opensocial.newActivity(params); opensocial.requestCreateActivity(activity, opensocial.CreateActivityPriority.HIGH); }; And I request activities by doing...

I am wondering how the Plural-Field generic is to be rendered in the REST OpenSocial 1.0 API specification?

In the OpenSocial Data specificaiton 1.0 for a Person object (social profile data) it includes the use of a generic called Plural-Field. The spec can be found at: http://opensocial-resources.googlecode.com/svn/spec/1.0/Social-Data.xml#Person In the 1.0 data specification there is no XSD and no examples showing the use of this generic P...

opensocial applications that use two-legged oauth

I am looking for opensocial applications that use 2-legged oauth. There is no easy way to search for opensocial gadgets in iGoogle leave alone searching for the ones that use 2-legged oauth or 3-legged oauth. So anyone know of an way to findout any opensocial apps out there that in particular uses 2-legged oauth in iGoogle or anywhere e...

Correct way of including remote CSS style sheet in OpenSocial gadget module XML

What is the correct/recommended way of including remote CSS style sheet in OpenSocial gadget module XML? I hope we CAN use remote CSS (to enable client caching etc), so that we can get rid of inline styling... Should a link tag be included in the CDATA section of the html typed Content tag below, or what are your suggestions? <?xml ve...

Problem facing fetching contacts from yahoo using open Social API

Hello there I was trying to get contact list from yahoo for POC. It was documented that the there is need to send a GET request to the URL with the user's ID and returns the contact list in XML format. I tried the same but facing the authentication message 401 from browser, normal console java application and from jsp too I guess I must ...

Javascript callback function does not work in IE8!

I have a callback function in my open social application which fetches remote date. This works perfect on Chrome and Mozilla browsers but not in IE8. Following is the example for the same, help will be appreciated: This function: gadgets.io.makeRequest(url, response, params) makes the callback call and following function process the re...

Is <osx:NavigateToApp /> supported on IGoogle?

does not work in case of IGoogle/Gmail application but the same works on Orkut! My question is is it supported on IGoogle/Gmail? ...

Creating OpenSocial container for ASP.NET Site

hello, i run a social networking site written in asp.net and would like to open it to developers using the OpenSocial APIs. I have read information on opensocial.org as well as google's opensocial page and have a basic idea what it takes but still there is a lot of info missing to even get started. I know i gotta provide RESTful API as ...

What is the best way to list friends in a paged format using opensocial?

I have got the list of my friends and i can traverse through the collection to list them as per my requirement. But I want to show them in different pages as the people on myspace may have more than 100s of friends, so I dont want to show them on the same page. What would be the best way to show them in pages. Currently i m doing the fo...

OpenSocial create activity from submit click

Hi I'm "playing with OpsnSocial" and think I get a lot of it (well thanks to Googles' bits) but one question if I may. Creating an activity Lets say I have a form like this (simple) <form> <input type="text" name="" id="testinput" value=""/> <input type="submit" name="" id="" value=""/> </form> And I want to post the value of the t...

PHP classes totally forgotten something today - sorry

Hi guys, really sorry about being "totally thick today" but I have forgotten how to do something simple - too much time not in php recently. Want to use the OS phpapi How do I print out the individual rows - see told you I was being thick today // The fields we will be fetching. if (isset($_GET['test']) && $_GET['test'] == 'plaxo'...

YQL in Yahoo! App [YAP]

We are using YQL to get the Profile Information in a Yahoo! App using YAP, however, we are facing an error while executing the YQL Query. We are using OpenSocial Gadget AJAX Functionality for making the call. Following is the error message we are getting: {"error":{"lang":"en-US","description":"Authentication Error. The table social.pr...

Myspace app development, showing an external site in app canvas?

is it possible to redirect a user from the app canvas page to another website which is hosted on another site e.g. http://www.mydomain.com? i mean i have already done it but currently my app is in development mode so I dont know if its possible to publish it and get it approved or not? if it is not possible let me know how should i do it...

OAuth Keys Don't Work?

I was just playing with Java and PHP OpenSocial client-libraries. But couldn't get them to work. Actually, I tried built-in samples from the PHP library and they worked. However, when I changed their OAuth keys (consumer and secret), they stopped working. I obtained my keys here https://www.google.com/gadgets/directory/verify ...

opensocial client library createActivity method returning 404

I am using opensocial client library for C# to use myspace data on my website. The application is an on site application with html/javascript used for the three surfaces. I can connect to myspace properly and can get the data retrieved from myspace easily. however when i use the createActivity method, I receive a 404 error in the respons...

Open social viewer state (isOwner)

We are creating a gadget for the opensocial API 0.7. In some functions we have to decide, if the viewer is the owner. We couldn't use the usual function for this purpose: return gadgets.util.getUrlParameters().viewer == gadgets.util.getUrlParameters().owner; so we had to create a workaround and get the information via a DataRequest. Th...

how can android app auth Orkut

I have downloaded Opensocial-java-client example which contain an android example: friendlist which load friendlist from goolge account. I want to modify it to communicate with Orkut. I have the following question: I cant find where can I get consumer key&& secret key for Orkut. I only know https://www.google.com/gadgets/directory/...

retrieving "owner/viwer" information is not working for past couple of days in orkut/igoogle/gmail apps

This is something that I have noticed the retrieving "owner/viwer" information is not working for past couple of days. Here is the code that can demonstrates the same: <script type="text/os-data" xmlns:os="http://ns.opensocial.org/2008/markup"&gt; <os:OwnerRequest key="owner" fields="name"/> </script> <script type="text/o...

A question regarding Orkut using c# (3-legged)

Hi, A question regarding Orkut using c# (3-legged) : Does anyone know how I can set the user's status and also how I can publish stuff (activity ?) to the profile ? (I managed to do the following : login, get user info, get user friends, get user contacts) Thanks in advance, Tamir. ...