[opensocial] Re: Implementing API on a custom site

2007-11-06 Thread Chris Chabot
You will have to implement the google gadget API (the xml gadget containers with all its functionality, and displaying them on your site And on top of that the Open Social calls (hooking the API to your own back-end) After that you should have complete transparent integration of

[opensocial] Re: opensocial is not defined

2007-11-06 Thread Chris Chabot
Cache-Control no-cache, must-revalidate, no-cache=Set-Cookie, private Expires Fri, 01 Jan 1990 00:00:00 GMT Pragma no-cache Content-Typetext/html; charset=utf-8 Content-Encodinggzip Content-Length 1466 DateTue, 06 Nov 2007 22:46:56 GMT Server GFE/1.3 Connection Close

[opensocial] Re: Discussion on opensocial-issues-list

2007-11-06 Thread Chris Chabot
as of this writing, http://k8ial4ha-a.gmodules.com/46/o/api/json is (temporary?) working for me with one of the test apps, which it consistently uses. the other test app uses a different server, http://ekk1tuio-a.gmodules.com/46/o/api/json which consistently fails. it seems an gadget is

[opensocial] Re: Desktop like application for Orkut

2007-11-07 Thread Chris Chabot
Documentation clearly states this _should_ work, but indeed my own first steps into this area also have shown that it doesn't yet. so far they've really just implemented the people gadget api, and the rest seems to be mostly work-in-progress, true 'alpha' and not 'beta', let alone google

[opensocial] using ajax inside of a gadget

2007-11-07 Thread Chris Chabot
build json parsing. Not a huge issue of course to rewite those parts of the code, but for portability it would be nicer if we could keep using our prototype's Ajax.Request instead of google's _IG_FetchContent. Thanks for any info, -- Chris Chabot

[opensocial] Re: using ajax inside of a gadget

2007-11-07 Thread Chris Chabot
On Nov 8, 2007, at 3:50 AM, RickMeasham wrote: On Nov 8, 1:41 pm, Chris Chabot [EMAIL PROTECTED] wrote: Sorry for the possibly newbee question, but are we limited to using google's _IG_FetchContent() inside of our open social gadgets, or is it possible to use the one's from our own toolkit

None Prototype based API wrapper and Ajax implementation

2007-11-12 Thread Chris Chabot
/osajax.js I hope you will find it interesting, and it can be of some help for the general prototype using community, and for the non prototypers under us, maybe demo how one could wrap Open Social's API's. Kind Regards, -- Chris Chabot

[OpenSocial] Re: Link Multiple pages of an application

2007-12-04 Thread Chris Chabot
on what to do, or the original example works :-) If anyone has a cleaner solution i'd be much obliged. Regards, -- Chris Chabot On Dec 3, 2007, at 12:52 PM, aplicativos.globo wrote: Hello, If got it right you want to link to your app in canvas/profile to a specific page of your app

[OpenSocial] Re: Questions about Multiple Content sections

2008-06-20 Thread Chris Chabot
it only outputs the content section of the current view, so if you have: Content type=html view=profile hello profile /Content Content type=html view=canvas hello canvas /Content and your in the profile view, the (only) output is: hello profile -- Chris On Jun 20, 2008, at 12:55 PM,

[OpenSocial] Re: Redirecting to a html page on a xml file.

2008-06-22 Thread Chris Chabot
If you just want to show a page, try using content type=url : ?xml version=1.0 encoding=ISO-8859-1? Module ModulePrefs title=Salário Por Segundo Require feature=opensocial-0.7/ /ModulePrefs Content type=url href=http://davidribeirolopes.googlepages.com/index.html / /Module

[OpenSocial] Re: Sending emails

2008-06-24 Thread Chris Chabot
The specification has been released, but people are still working on implementing it. So not yet i'm afraid. Keep an eye on the orkut developer blogs to find out when it's available i imagine :) -- Chris On Jun 24, 2008, at 10:45 AM, nitinkcv wrote: Thanks rajiv, The 0.8 is

[OpenSocial] Re: Help on Tabs

2008-06-25 Thread Chris Chabot
Hey Pulkit, Could you please specify why exactly this wasn't what you were looking for? When i look at that page and follow the link to: http://code.google.com/apis/orkut/articles/tabs.html I see the code how to create tabs in orkut, which i believe is exactly what your asking for! So i'm a

[OpenSocial] Re: to help in orkut app development

2008-06-25 Thread Chris Chabot
http://code.google.com/apis/opensocial/docs/0.8/reference/#opensocial.Enum.Presence_field_summary Not live on any containers yet, but a couple will support it, (Not sure about orkut, but they already have a presence indicator right? so i guess they might) On Jun 25, 2008, at 8:13 PM, Aakash

[OpenSocial] Re: to help in orkut app development

2008-06-25 Thread Chris Chabot
http://groups.google.com/group/opensocial-and-gadgets-spec/browse_thread/thread/94b6caabc80fc4d0 this bit: - The person object has added additional fields and filters: a more structured lookingFor field, a new hasApp field, and a new networkPresence field. An ability to filter

[OpenSocial] Re: OpenSocial developer survey

2008-07-01 Thread Chris Chabot
Are you using http://sandbox.orkut.com ? On Jul 1, 2008, at 10:43 AM, tandonakhil wrote: hey arne i need a help .. my sandbox a/c is approved but in my orkut a/c am not able to see add application textbox as defined in tutorials.. its coming as earliar only like it was.

[OpenSocial] Re: Difference between _IG_FetchContent and gadgets.io.makeRequest

2008-07-03 Thread Chris Chabot
The Open Social API was based on the iGoogle gadget specification, hence that it also had its _IG_.. (_I Google_) API in the opensocial 0.5 days. That it still works is purely for compatibility reasons (internally _IG_FetchContent is just a wrapper function for makeRequest), and you won't

[OpenSocial] Re: *Implementing* LinkedIn OpenSocial App

2008-07-07 Thread Chris Chabot
Linked-in has a different target audience then most social network sites (aka buisness/networking), and they will be a bit stricter as well with what gadgets they allow too i imagine ... probably won't be much super poking going on there I think :) However they did say in their

[OpenSocial] Re: How to create a new social network site using Opensocial?

2008-07-09 Thread Chris Chabot
Well there are 2 questions here really, one of which i can answer and the other one is hard for me to judge :) Can you become an open social, social network site? Yes! This is what Apache Shindig is for: http://incubator.apache.org/shindig/ It is an open source (production ready) open social

[OpenSocial] Re: How to create a new social network site using Opensocial?

2008-07-09 Thread Chris Chabot
implementation, it would be nice. -Webprogrammer On Jul 9, 5:25 pm, Chris Chabot [EMAIL PROTECTED] wrote: Well there are 2 questions here really, one of which i can answer and the other one is hard for me to judge :) Can you become an open social, social network site? Yes! This is what Apache

[OpenSocial] Re: OpenSocial Api help needed !!!!!!!!

2008-07-10 Thread Chris Chabot
Hi Moiaz, I'd start by reading the development guide: http://code.google.com/apis/opensocial/docs/0.7/devguide.html Just walk through the examples, create them your self, and get a good feeling for how to make an open social app... it's like making an ajax style web application where you do

[OpenSocial] Re: help...how to build a website support opensocial?

2008-08-18 Thread Chris Chabot
Hey Sinsigma, Well to make an open social 'container' (aka website), there's really 3 options, first is to use friend connect .. then you don't have your own social graph, but you can run gadgets on your website through it. The next option is to create your own gadget renderer + social

[OpenSocial] Re: The correct way of retrieving viewer's friends with v0.8

2008-08-25 Thread Chris Chabot
FYI, The network distance is passed along to the data layer as a param, however there's no data back-end yet that actually does something with this yet :) -- Chris On Aug 25, 2008, at 8:03 PM, [EMAIL PROTECTED] wrote: As a note, I don't believe NETWORK_DISTANCE is correctly

[OpenSocial] Re: cross-domain issue in iframe

2008-08-26 Thread Chris Chabot
Hi Jesse, That's how it's supposed to work; The same-domain-origin is the basis of the security model for gadgets. The last thing you would want is for a malicious gadget to be able to add everyone as a friend (by using a link on the parent), change your about me info to some spam

[OpenSocial] Re: NETWORK_DISTANCE (v0.8 problem)

2008-10-09 Thread Chris Chabot
ps just to clarify, having a NETWORK_DISTANCE param option doesn't mean every container *has to* support every distance, this makes sense when you keep in mind that there is quite a high computational cost to support friends of friends of friends, etc. Following the 6 degree's of seperation

[OpenSocial] Re: what is __MODULE_ID__?

2008-10-15 Thread Chris Chabot
__MODULE_ID__ is replaced by the server with the module id your application, which can be anything like '1' or 'abcetragg12345345' (though the former format is more likely then the latter :) Basically it's treated like a language tag, which works great inside of your gadget xml file (since the

[OpenSocial] Re: Help me

2008-10-18 Thread Chris Chabot
Hi Bagya, I'm, i think like most of us here, not completely sure about what your asking. OpenSocial works in such a way that you write a gadget, and that gadget is nothing but an .xml file, which is processed and parsed by an 'open social server'. (Like myspace, hi5, orkut, friendster, etc are

[OpenSocial] Re: Anybody help

2008-10-26 Thread Chris Chabot
Hi bagyaraja, If you want to support OpenSocial on your website, check out the shindig project: http://incubator.apache.org/shindig It's the implementation of the Gadget + OpenSocial specification, and with it you can (relatively easily) add OpenSocial support to your site. If your able to read

[OpenSocial] Re: Navigating between profile and canvas view : how to construct URL for links in profile view

2008-11-03 Thread Chris Chabot
Strictly speaking it's up to the container (fancy word for 'the social site') if they want to allow an app to access the viewer information and under what conditions. you can always check in your gadget and try to request permission if you can't access the viewer info by doing something like: if

[OpenSocial] Re: hash code for email addresses

2008-11-03 Thread Chris Chabot
I recall some discussion happening about this before, in theory it sounds useful. If you could indeed fill out that spec request, and post it to the opensocial-gadget-and-spec mailing list, that's where we talk about what should be added and/or improved in the next spec revision, you can be sure

[OpenSocial] Re: Friend Requests and Application

2008-12-09 Thread Chris Chabot
Sorry for the short answer but currently that's: No there is a requestShareApp() call for sharing the app with friends, but adding friends is not part of the OpenSocial api currently. -- Chris On Tue, Dec 9, 2008 at 12:18 PM, [EMAIL PROTECTED] [EMAIL PROTECTED]wrote: Hi, I have 2

[OpenSocial] Re: Friend Requests and Application

2008-12-09 Thread Chris Chabot
or not on a specific social site, that's something you'll have to ask on their specific forums. -- Chris On Tue, Dec 9, 2008 at 2:29 PM, RAJA SEKHAR [EMAIL PROTECTED] wrote: Hi Chris Is requestShareApp() is working in 0.8 or not. Thanks Sekhar On Tue, Dec 9, 2008 at 6:43 PM, Chris Chabot [EMAIL PROTECTED

[OpenSocial] Re: Any examples or docs for using OAuth or alternatives?

2008-12-09 Thread Chris Chabot
Hi Akash, It might be better to direct your questions to the opensocial-api@googlegroups.com mailing list, my expertise is more to the server side, and I might not always be around to answer emails either, so in either case the opensocial-api group is a much better bet! To your question, no to

[OpenSocial] Re: Fetching profile Details

2008-12-15 Thread Chris Chabot
First of all you need to specify which fields to fetch, by default only the id, name and thumbnail url are returned, so you need to function init() { var req = opensocial.newDataRequest(); * var params = {};** params[opensocial.DataRequest.PeopleRequestFields .PROFILE_DETAILS] = [

[OpenSocial] Re: How to create a API to orkut that shows the latest news

2008-12-31 Thread Chris Chabot
First of all you need to write a gadget, there's a nice guide here: http://code.google.com/apis/opensocial/docs/0.8/devguide.html And you can consume a RSS news feed by doing something like: function makeFeedRequest() { var params = {}; params[gadgets.io.RequestParameters.CONTENT_TYPE] =

[OpenSocial] Re: get profile visitors

2008-12-31 Thread Chris Chabot
Something like: function request() { var req = opensocial.newDataRequest(); req.add(req.newFetchPersonRequest(VIEWER), get_viewer); req.send(response); }; May I suggest working through the various development guides? This and a lot more is covered by it, a great start is:

[OpenSocial] Re: OpenSocial in PHP

2009-01-05 Thread Chris Chabot
Hey Amit, I'm affraid you are somewhat on the wrong path here, OpenSocial works quite differently from that. An gadget contains only HTML, JS and CSS code, and no php or any other programming language type stuff... However you can of course call your own server from JavaScript using

[OpenSocial] Re: Wordpress supports opensocial

2009-01-08 Thread Chris Chabot
Wordpress doesn't directly support OpenSocial (aka it's not an OpenSocial container), however you can very easily add FriendConnect to a wordpress blog (as long as you host it your self, wordpress.org doesn't allow you to add js and/or html), and with that you can add OpenSocial gadgets to- have

[OpenSocial] Re: Get opensocial ID by email and pass

2009-01-12 Thread Chris Chabot
Hey Guys, The whole point of OAuth and OpenID is that users can use their social data without actually having to provider their username and password to every client that wants to use that information, so no there's no way to get an OpenSocial user ID by using those technologies :-) However the

[OpenSocial] Re: Get opensocial ID by email and pass

2009-01-12 Thread Chris Chabot
This method (asking for a login and password) is often used in something called screen scraping, you login on behalf of the user in the background (using regular posts etc to the service, faking being a normal client) and then parse the html returned to you .. It's a horribly complex thing to do

[OpenSocial] Re: Get opensocial ID by email and pass

2009-01-13 Thread Chris Chabot
On Tue, Jan 13, 2009 at 8:35 AM, poncz oded.po...@labpixies.com wrote: Hi Chris, Thank you for the long answer. This is exactly what we are looking for. is 3 legged OAuth implemented on iGoogle (or the iGoogle sandbox)? It isn't yet, but it will be at some point in the future.

[OpenSocial] Re: adjustingWidth

2009-01-17 Thread Chris Chabot
adjustWidth might be a bit to much out-there, since the layout of websites often isn't meant to scale horizontally. However you could of course add a containing div around your content, and in your javascript on load handler do something like: if ($(window).width() 400) {

[OpenSocial] Re: Implementing OpenSocial support in Android

2009-01-20 Thread Chris Chabot
Hi Christer, http://code.google.com/p/opensocial-java-client/ might be a good starting point, it allows you to talk to the OpenSocial end points and supports both 2 legged and 3 legged oauth. Now that OAuth bit is actually quite relevant to your question: 2 legged OAuth is ideal for situations

[OpenSocial] Re: Image Retrieval From Persistent Storage

2009-01-21 Thread Chris Chabot
I'm not an authoritative source so I might be wrong, but in my recollection the appdata limit is 10k. On Wed, Jan 21, 2009 at 6:40 AM, rinku dongaria rinku.donga...@gmail.comwrote: Thanks for your response Arne Roomann-Kurrik. Can you tell me how much local storage is supported by orkut for

[OpenSocial] Re: Connect to backend

2009-01-27 Thread Chris Chabot
To see how to build an app, example code and a nice step by step howto see: http://code.google.com/apis/opensocial/articles/tutorial/tutorial-0.8.html More info is available at: http://code.google.com/apis/opensocial/gettingstarted.html -- Chris On Tue, Jan 27, 2009 at 11:29 AM, rinku

[OpenSocial] Re: Connect to backend

2009-01-27 Thread Chris Chabot
On Tue, Jan 27, 2009 at 2:48 PM, rinku dongaria rinku.donga...@gmail.comwrote: but i am familiar with this basic stuff ... what i am lookin for is how can i build an app which is connected to my backend ?? How do i start building such apps which have access to my backend ??? You have a

[OpenSocial] Re: Regarding opensocial

2009-01-28 Thread Chris Chabot
Hey Swamy, If you send a mail to the opensocial list instead of to me directly, you have a much higher chance of getting a meaningful answer. There is support for sending a message in the OpenSocial API: http://code.google.com/apis/opensocial/docs/0.8/reference/#opensocial.requestSendMessagealso

[OpenSocial] Re: How to retrieve Owner and Owner's Friends Email Id

2009-01-30 Thread Chris Chabot
Hi Soumya, Most, if not all, social networks don't expose the email addresses of their users; The possibility for an app to gather emails and use them for spamming or other malicious purposes is just to great. If you need messaging though, you could try to use requestSendMessage, which sends an

[OpenSocial] Re: How to call a function on remote server??

2009-02-05 Thread Chris Chabot
that's really a question about the programming language on the server, and not about opensocial. Say that you were using PHP, then you could call different 'functions' in a page by: ?php $function = $_GET['action']; switch ($function) { case 'foo': include foo.php; break; case

[OpenSocial] Re: How to call a function on remote server??

2009-02-06 Thread Chris Chabot
gadgets.io.makeRequest instead of a XMLHttpRequest (otherwise you run into cross-domain issues) On Fri, Feb 6, 2009 at 9:32 AM, rinku dongaria rinku.donga...@gmail.comwrote: How do opensocial sends XML-RPC messages to the server to call a function ?? On Thu, Feb 5, 2009 at 10:38 PM, Chris Chabot chab

[OpenSocial] Re: Navigating between functional elements of a social app

2009-02-07 Thread Chris Chabot
Option number 2 is the correct one. You don't want to lose the context of the gadget (security token, OpenSocial API javascript, etc etc), so you want to stay inside of the same iframe without navigating, the easiest way to do that is to simply have a main div, which you assign the current 'view'

[OpenSocial] Re: How to fetch Person with username or First and Last Name ?

2009-02-13 Thread Chris Chabot
Hi Aerox, OpenSocial's API's is based on the 'viewer', 'owner' and their friends, which makes a lot of sense, from an application perspective these are the 2 things that are relevant to the application (who's page is it == owner, who's looking at it == viewer, so that always covers the right

[OpenSocial] Re: any word on a perl shindig container project?

2009-02-15 Thread Chris Chabot
Not that I'm aware off. There is Java and PHP in Shindig's svn ( http://svn.apache.org/repos/asf/incubator/shindig/trunk/) and there's a C# port too, and a work-in-progress python port (though the source of it hasn't been released yet, nor do we have any commitment what license it'll be released

[OpenSocial] Re: Google Friend Connect with Joomla

2009-02-22 Thread Chris Chabot
Actually I think signed requests should be working again :) On Sun, Feb 22, 2009 at 11:24 AM, Peter Svensson psvens...@gmail.comwrote: It's fairly simple, but the id sent can't at present be completely trusted. I've written an post about the problem here;

[OpenSocial] Re: Are all parameters signed?

2009-03-10 Thread Chris Chabot
The OAuth signature gives you the security that the request hasn't been tampered with in transit (so called man-in-the-middle attacks). However it doesn't encrypt the data it is sending. So for sensitive information like credit card details, using https is still required since you don't only want

[OpenSocial] Re: Which editor i can use to build opensocial apps

2009-03-18 Thread Chris Chabot
Hey cmnajs, Check out the OpenSocial Dev App, it does most of whay the gadget editor did, plus some nice extra's like the data viewer: http://osda.appspot.com/ Hope that helps! -- Chris On Wed, Mar 18, 2009 at 6:13 PM, CMNAJS cmn...@gmail.com wrote: Hi people, I wish to start

[OpenSocial] Re: Messageboard support?

2009-04-26 Thread Chris Chabot
Hey Erik, Could you please elaborate on your question? To be honest it doesn't make a lot of sense. The 'datatype' completely depends on the design of what you want to store, and what language your talking about ... in sql you probably would make a title a varchar(X), and the post a blob (or

[OpenSocial] Re: Activities list returns 500 Internal Server Error

2009-04-28 Thread Chris Chabot
Hey Shalfi, I've checked with the GFC team, and they mentioned that it needs the app id to be set to '@app', but then it should work ok; Creating and retrieving activities is supported by GFC. Hope that helps! -- Chris On Tue, Apr 28, 2009 at 8:55 AM, shalafi shalafiraist...@gmail.com

[OpenSocial] Re: Messageboard support?

2009-04-28 Thread Chris Chabot
App Data can be abused for a lot of things, but many containers limit the max size of it to 10kb per app/user.. so storing all the info of a forum in it would quickly run into this limit. So unfortunately you can't really escape setting up your own server, of course you could set up your own, but

[OpenSocial] Re: Activities list returns 500 Internal Server Error

2009-04-29 Thread Chris Chabot
Awesome, glad to hear it. I'll make a mental note to add an example for that so others will have an easier time at it Thanks for the feedback, -- Chris On Wed, Apr 29, 2009 at 11:18 AM, shalafi shalafiraist...@gmail.com wrote: thanks appId=@app made the trick

[OpenSocial] Re: application development best practice

2009-05-12 Thread Chris Chabot
If OSDE doesn't work out for you (It is a great tool though, so might be worth giving another chance), you could also try php-shindig + partuza as a local development setup.. use that and ?nocache=1 on the url's and you have a pretty good 'real like' test environment. See

[OpenSocial] Slow to respond until Jun 1st - Google I/O

2009-05-22 Thread Chris Chabot
Hey Everyone, I'll be boarding my flight to SF tomorrow morning (way to early), and will be spending all week mingling, meeting people, and at the Google I/O conference; So if your posting anything to the mailing lists where I usually hang out during that time and expect to see a reply, but none

[OpenSocial] Re: Authenticate Users with OpenSocial

2009-05-29 Thread Chris Chabot
You might also want to check out Google Friend Connect: http://www.google.com/friendconnect/ It allows users to login using their account from Google, Yahoo, AIM, Netlog and any OpenID identity, and we're hoping to add more social networks in the future. After a user has signed in through friend

[OpenSocial] Re: How can I pull in friends/contacts of any given user from various opensocial containers?

2009-06-03 Thread Chris Chabot
OpenSocial doesn't provide any functionality for dealing with username / password authentication, because, well, it's what we would call an anti-pattern, something you shouldn't do. Giving out your super secret login credentials to random sites on the net is a great way to make sure that you have

[OpenSocial] Re: How can I pull in friends/contacts of any given user from various opensocial containers?

2009-06-03 Thread Chris Chabot
Hey Rajesh, 3 legged OAuth is indeed the right solution here; And no once the user goes through the OAuth flow once (ie get redirected to the social site where he has to click 'Grant FOO.COM access to my data'), you get a long lived token that you can keep using indefinitely, or until it is

[OpenSocial] Re: How can I pull in friends/contacts of any given user from various opensocial containers?

2009-06-04 Thread Chris Chabot
Exactly how you register on each 3 legged OAuth supporting container kind of varies per container, however with 3 legged OAuth you are *not* limited to whom ever installed your app, instead you make the requests on a per-user-context bases (ie: their access key/secret combo). Why containers want

[OpenSocial] Re: Webapplication with OpenSocial

2009-06-07 Thread Chris Chabot
Hey Jan, Partially, yes. OpenSocial defines a javascript API, a way to proxy server side generated content into a gadget, and a RESTful API. In this case if you want to do server to server communication, that RESTful API is exactly what you want. Now I know MySpace does support 3 Legged OAuth +

[OpenSocial] Re: Authenticate Users with OpenSocial

2009-06-09 Thread Chris Chabot
With friend connect we have lots of code samples on how to use FC for authentication your self instead of through the standard JS solutions, also FC exposes a regular OpenSocial REST/RPC API, so you can talk to it just like you would talk to an OpenSocial container. For info see

[OpenSocial] Re: Usar(Using) _IG_FetchXmlContent with template

2009-06-13 Thread Chris Chabot
See: http://wiki.opensocial.org/index.php?title=Introduction_to_makeRequest In this case you would do a gadgets.io.makeRequest and use the gadgets.io.ContentType.DOM content type. -- Chris On Sat, Jun 13, 2009 at 7:12 AM, PortalPf n...@portalpf.com.br wrote: People, hello, I'm from

[OpenSocial] Re: pull friends list via REST api

2009-06-16 Thread Chris Chabot
Hey Davi, OpenSocial doesn't provide any functionality for dealing with username / password authentication, because, well, it's what we would call an anti- pattern, something you shouldn't do. Giving out your super secret login credentials to random sites on the net is a great way to make sure

[OpenSocial] Re: Is it possible to search people using OpenSocial?

2009-06-18 Thread Chris Chabot
Hi Sarvar, The 'Open' in OpenSocial refers to the standard being open, everyone is able to join and use it, and there's an open process in which people can participate and help form the specification. The 'Open' doesn't however refer to people's private data, that is a policy that the social

[OpenSocial] Re: Is it possible to search people using OpenSocial?

2009-06-20 Thread Chris Chabot
it is possible to search people using FQL. OpenSocial said to be more open than Facebook. I am not going to access someone's profile, I just need to know if some users is affiliated with particular social network. Thank you. On Jun 19, 2:37 pm, Chris Chabot chab...@google.com wrote: Hi

[OpenSocial] Re: Authenticating process in Orkut

2009-06-21 Thread Chris Chabot
Hey Pankaj, It's rather hard to come to a complete conclusion about what's going wrong, but given the error (invalid oauth_timestamp), it might just be a matter of your system's clock not living in the same time setting as Orkut's. The known-to-be-working opensocial php client lib just uses a

[OpenSocial] Re: provision for updating to the activity stream offline

2009-06-21 Thread Chris Chabot
Hey deostroll, There is in fact, you can use OAuth to authenticate the user, save the resulting access token, and re-use it to post activities through the OpenSocial REST API. All the implementation details have already been taken care of with the opensocial client libraries, for links to the

[OpenSocial] Re: XSS Solution without Gadgets?

2009-06-24 Thread Chris Chabot
Hey Andi, I'm not entirely sure what exactly you're trying to do and what exact error you are running into, could you possibly please provide us with a bit more info and/or code snippets of what you are doing? :) Are you manually including shindig's javascript code from your gadget, or what

[OpenSocial] Re: XSS Solution without Gadgets?

2009-06-24 Thread Chris Chabot
Ah I was afraid you were trying to do that. In the interest of saving you a lot of time and headaches: Don't... really, just don't. All the features JS code has been made for use through shindig and not through direct inclusion, it depends on lots of security, configuration, proxy and rpc data

[OpenSocial] Re: XSS Solution without Gadgets?

2009-06-25 Thread Chris Chabot
On Thu, Jun 25, 2009 at 2:45 PM, Andi andreas.schuet...@navteq.com wrote: Hi Chris, thanks for your answer again, but unfortunatly i can't use Gadgets. I don't want to support 2 different systems of widgets and Gadgets. So i still have to find a way to solve the XSS problem with directly

[OpenSocial] Re: XSS Solution without Gadgets?

2009-06-25 Thread Chris Chabot
the google gadget system. Andi On 25 Jun., 15:59, Chris Chabot chab...@google.com wrote: On Thu, Jun 25, 2009 at 2:45 PM, Andi andreas.schuet...@navteq.com wrote: Hi Chris, thanks for your answer again, but unfortunatly i can't use Gadgets. I don't want to support 2 different

[OpenSocial] Re: Fetching activities for viewer and friends in one call?

2009-06-26 Thread Chris Chabot
Hey Andre, The solution is simpler then that, the batch request allows you to add multiple different requests to it, so you can add a viewer activities request to it, an owner activities request, and even mix in things like owner and/or viewer friends all in one batch request. The resulting

[OpenSocial] Re: find container name

2009-07-14 Thread Chris Chabot
if you look at the URL of your gadget, you'll see it contains a container=foo, thats probably the easiest and quickest way to get to it On Tue, Jul 14, 2009 at 1:33 PM, akkad nonadr...@gmail.com wrote: No one knows ? :( On Jul 3, 8:17 pm, akkad nonadr...@gmail.com wrote: How do I find the

[OpenSocial] Re: Different include_once, require_once PHP

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

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

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

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

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

[OpenSocial] Re: Containers that support creatActivity

2009-07-23 Thread Chris Chabot
It's known to be working on Netlog, Hi5 (yes it really should) and I really thought MySpace as well. Did you try using one of the OpenSocial client libraries? They're available for quite a few languages: - OpenSocial PHP Client Libraryhttp://code.google.com/p/opensocial-php-client/ -

[OpenSocial] Re: How to connect my server?

2009-08-03 Thread Chris Chabot
The magic here is gadgets.io.makeRequest btw, see http://wiki.opensocial.org/index.php?title=Introduction_to_makeRequest for details On Mon, Aug 3, 2009 at 2:54 PM, THLopes redcatme...@gmail.com wrote: You just need to inform in the app and URL that outputs json data from your server. How

[OpenSocial] Re: Single solution to connect to all SNS supporting opensocial

2009-09-04 Thread Chris Chabot
data on its on , say when a new friend is added, to my server(to behave like an alert?) Thanks, Nishanth On Fri, Sep 4, 2009 at 3:50 PM, Chris Chabot chab...@google.com wrote: An OpenSocial gadget is an xml file that contains js, css html and not actually an 'application' as I think

[OpenSocial] Re: Single solution to connect to all SNS supporting opensocial

2009-09-04 Thread Chris Chabot
in the gadget. AM I right? Also, can u point me to a code snippet where during an event , say a new friend is added, can trigger the gadget to send the data to my server? Thanks a lot for your support. On Fri, Sep 4, 2009 at 4:36 PM, Chris Chabot chab...@google.com wrote: No, actually the gadget

[OpenSocial] Re: Gmonkey hooks, the gmail DOM and gadgets. .

2009-09-08 Thread Chris Chabot
To add to that, the whole security model for opensocial gadgets is that the containing page (gmail) and the gadget are on seperate domains, and the cross domain policy of the browser will block any gadget - container interaction. In other words, I don't think it is possible to manipulate the

[OpenSocial] Re: opensocial architecture

2009-09-08 Thread Chris Chabot
Hey H, Indeed if you want to add OpenSocial support to your social network, Apache Shindig is the right tool for the job. For more information see http://incubator.apache.org/shindig/ -- Chris On Tue, Sep 8, 2009 at 10:38 AM, h.bidani h.bid...@googlemail.com wrote: Hi, I have a social

[OpenSocial] Re: Basic newbie question

2009-09-09 Thread Chris Chabot
Hey Kenny, From your email I'm not entirely sure what type of application you're building, so that makes it somewhat harder to comment on what the right approach would be, but in a general sense my comment would be that you're thinking the wrong way around for a social app. In the clasic a user

[OpenSocial] Re: Problem while building ast application

2009-09-14 Thread Chris Chabot
Assuming you went ahead and created a gadget xml file like: ?xml version=1.0 encoding=UTF-8 ? Module ModulePrefs title=Hello World! Require feature=opensocial-0.8 / /ModulePrefs Content type=html ![CDATA[ Hello, world! ]] /Content /Module On Fri, Sep 11, 2009 at 7:53

[OpenSocial] Re: OpenSocial and ZK

2009-09-18 Thread Chris Chabot
I'm not familiar with that toolkit, but generally speaking there's nothing in OpenSocial that would prevent you from using any javascript libraries, and even all the OpenSocial JavaScript API's are cleanly namespaced (opensocial.*, gadgets.*) so chances for any name space collisions are fairly low

[OpenSocial] Re: Adsense

2009-09-20 Thread Chris Chabot
Guys lets keep the discussions focused and friendly please, there are entirely to much less then helpful posts on this thread. To respond to the original topic, the bad news is that the eCPM on social gadgets is a good bit lower then you would have on regular websites, however this is off set by

[OpenSocial] Re: App statistics.

2009-09-20 Thread Chris Chabot
On Fri, Sep 18, 2009 at 7:09 PM, Kaczor t.kaczmare...@gmail.com wrote: Hi all! I'm a newbie from Poland and this is my first post here. Maybe it won't be too precise but I'll try to be clear with my questions. I'm not even sure if I'm writing in a proper place for it but I hope yes :). I

[OpenSocial] Re: App statistics.

2009-09-20 Thread Chris Chabot
Actually a lot of those fields won't even be supported by each social network. That isn't really a problem though as long as you collect store your own information on your own servers. You'd do this by doing a signed request to your server (using makeRequest:

[OpenSocial] Re: How to add Opensocial container in my own BBS?

2009-09-23 Thread Chris Chabot
Hey Ruiyu, Shindig doesn't require OAuth for gadget rendering and gadget's social requests, instead it uses a security token which is parsed on the iframe (?st=your encrypted security token), if you don't mind reading PHP to much Partuza is a sample project that demonstrates how to create the

[OpenSocial] Re: What should I do to add OpenSocial API in my own website?

2009-09-23 Thread Chris Chabot
The best place for getting answers to shindig specific questions is the shindig-dev list: http://incubator.apache.org/shindig/ On Wed, Sep 23, 2009 at 5:40 AM, ruiyu ruiyu...@gmail.com wrote: Recently, I would like to add some gadgets to my website. Since some reasons I want to add a Shindig

[OpenSocial] Re: How to add Opensocial container in my own BBS?

2009-09-24 Thread Chris Chabot
. Do note that supporting OAuth for your REST API's is optional, though advisable On Sep 23, 9:15 pm, Chris Chabot chab...@google.com wrote: Hey Ruiyu, Shindig doesn't require OAuth for gadget rendering and gadget's social requests, instead it uses a security token which is parsed

[OpenSocial] Re: Error installation on step 2?

2009-10-12 Thread Chris Chabot
Hey Mostafa, I'm affraid these are the OpenSocial mailing lists and not the OpenSIS, which are two completely separate, unrelated products On Mon, Oct 12, 2009 at 12:23 PM, Mostafa forumwindevma...@gmail.comwrote: Hello i want install OpenSIS but i have one error message on step 2 : This

[OpenSocial] Re: How to start with developing an orkut application from scratch ?

2009-10-14 Thread Chris Chabot
http://code.google.com/apis/opensocial/articles/tutorial/tutorial-0.8.html On Mon, Oct 12, 2009 at 6:23 PM, Shyju connectsh...@gmail.com wrote: I am a newbie to this and i would like to develop an application for orkut.Can anybody guide me how to start with ?

Re: [OpenSocial] A question about someone join my site

2009-10-29 Thread Chris Chabot
I don't think GFC has any 'user joined site' hooks at the moment, so that, as far as i can think of right now, limits your options to: 1) check for the fcauth cookie and then do a db lookup 2) check for a custom cookie in javascript, if none is set, set it in JS and do a ajax call to your server

  1   2   >