Windows Live Contacts Gadget beta release!

I'm pleased to announce that the Windows Live Contacts Gadget has been released to beta!

The Contacts Gadget allows end users to access their Windows Live (Hotmail + Messenger) contacts in the context of third-party web sites, and use those contacts with the web site.

It's easy to add the contacts gadget to your web sites - just reference the .js files on dev.live.com, copy one channel.htm file to your web server, and write a little code to construct the contact gadget and respond to its callback events. More details can be found here: http://dev.live.com/contactgadgets

I'll be posting articles and code samples over the next few days on my blog.

If you have any questions, feel free to ask!

-Danny




Answer this question

Windows Live Contacts Gadget beta release!

  • Behrooz PB

    Aleksey,

    I'm not familiar with ClientScript.RegisterClientScriptInclude() in Asp.Net 2.0. However, I am familiar with proxy.js, and it does contain some weird code that is very sensitive about its execution environment. What sort of HTML does your call to ClientScript.RegisterClientScriptInclude() generate

    I'm in the middle of rearranging the contacts control to make it more of an API and to isolate the weirdnesses away from the web app - to the extreme that your web pages should never reference proxy.js directly. That's for the next release of the contacts control, due out in a few weeks.

    -Danny



  • Troy Lundin

    Thank you Danny,i had use this gudget and it works very well on Windows XP,but it doesnt work on windows2000 it gives me javascript error when am trying to signin "Object expected at line 7",another question , i want to send something  like advertisments to these users, or even graps these users in my own design with keeping the privacy of microsoft , another question please,what about the status of the users

    regards

    M. Yousri



  • phyton3D

    by saying mini mode I mean that there should not be contact info and some rarely used button like edit/delete/add new.


  • Vladimir Bougay

    my Ques about sending advertisment i mean i want to access these users and trying to send each one of them something like advertisment or even mails..got it....something like hi5 site ,that the user enter his hotmail or yahoo or gmail mail address and his password and then we can fetching his contacts and then we can use these contacts in order to send them mails ...hope to understand me

  • Xi0N

    Good product, need improvements on look and feel. Author should include feature like positioning by moving it, toggle slide open/close, mini mode.


  • Michael Vanhoutte

    Aleksey,

    I'm pretty sure our next rev of the contacts control will resolve this issue with RegisterClientScriptInclude. Most of the tricky proxy.js code is going away.

    Thanks!

    -Danny



  • The Last Muskateer

    Danny,

    It seems that I cannot register dev.live.com/scripts/AddressManager/proxy.js javascript source using ClientScript.RegisterClientScriptInclude() function on asp.net 2.0 page.

    It gives me an IE error (cannot load the page).

    This makes it difficult to use master pages - requires using some tricks to write in the page header. Not good.

    Are you planning to do anything about this


  • MMMalik

    Danny,
    The call
    ClientScript.RegisterClientScriptInclude("myInclude", "http://dev.live.com/scripts/AddressManager/proxy.js");
    will insert line
    <script src="http://dev.live.com/scripts/AddressManager/proxy.js" type="text/javascript"></script>
    in the HTML.
    The only difference is - it inserts it inside the <body> part, not <head>. I guess this is what breaks the page.
    The problem: when you use Master pages you don’t have direct access to the <head> from a content page. You can get <head> using specially crafted Master page and casting your reference to that specific Master page, but this makes the solution very inflexible.

    I would like to see that js include working from the <body> as well as from the <head> part of the page.


  • dnenadd

    Gautam Singh wrote:

    Good product, need improvements on look and feel. Author should include feature like positioning by moving it, toggle slide open/close, mini mode.

    Hi Gautam,

    We certainly can do open/close UI things, since we have complete control of our appearance inside our HTML element, but moving the box around on the host site's web page requires a deep cooperation with the host page. Dragging HTML elements around on the page is not something that HTML does well - you'd need a framework that supports such things, such as the Windows Live Gadgets framework. That's quite doable, but it places significant prerequisites on the host page and server which would reduce the number of sites that could use the contacts gadget.

    What did you have in mind for "mini mode"

    Thanks for the feedback!

    -Danny



  • Matthijs Koopman

    awesome, sounds great!

    once again, great products ;-)



  • Cptkirkh

    Hmm. Not sure what the issue is with Windows 2000. We'll take a look at it.

    >>>> another question, I want to send something like advertisements to these users, or even graps these users in my own design with keeping the privacy of microsoft

    I'm not sure I understand your question. Can you restate your question Thanks

    >>>> another question please, what about the status of the users

    If you mean indicating the online/offline presence of individuals in the contacts list, yes, that's on our to-do list. That will be a visual indicator to the end user.

    Thanks for the feedback!

    -Danny



  • Ultrawhack

    Aleksey777 wrote:

    I cannot use this thing under https connection - it gives me that warning about secure and nonsecure items on the page. I think it happens because URLs in the ContactSelectorPartner.js are hardcoded with the http: protocol.

    Can you make all URLs sensitive to the protocol being used by the host page (http or https)

    Yes we can! Great suggestion. Thanks!

    -Danny



  • QWERTYtech

    I cannot use this thing under https connection - it gives me that warning about secure and nonsecure items on the page. I think it happens because URLs in the ContactSelectorPartner.js are hardcoded with the http: protocol.

    Can you make all URLs sensitive to the protocol being used by the host page (http or https)


  • Joe Hanna

    Ah, I understand now.

    You must be more diligent about giving your contacts readable nicknames than I! ;>

    I'll add minimode to the ideas list. Thanks!

    -Danny



  • Windows Live Contacts Gadget beta release!