<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Beckh@m&#039;s Blog &#187; VSTO</title>
	<atom:link href="http://beckh0m.wordpress.com/category/vsto/feed/" rel="self" type="application/rss+xml" />
	<link>http://beckh0m.wordpress.com</link>
	<description></description>
	<lastBuildDate>Wed, 04 Apr 2012 23:47:58 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='beckh0m.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Beckh@m&#039;s Blog &#187; VSTO</title>
		<link>http://beckh0m.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://beckh0m.wordpress.com/osd.xml" title="Beckh@m&#039;s Blog" />
	<atom:link rel='hub' href='http://beckh0m.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Why go Facebook when you can Outlook</title>
		<link>http://beckh0m.wordpress.com/2008/12/16/why-go-facebook-when-you-can-outlook/</link>
		<comments>http://beckh0m.wordpress.com/2008/12/16/why-go-facebook-when-you-can-outlook/#comments</comments>
		<pubDate>Tue, 16 Dec 2008 11:32:46 +0000</pubDate>
		<dc:creator>beckh0m</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[VSTO]]></category>
		<category><![CDATA[VSTO Facebook Outlook]]></category>

		<guid isPermaLink="false">http://beckh0m.wordpress.com/?p=30</guid>
		<description><![CDATA[Facebook to outlook First, Facebook as a very successful social networking website already contains a lot of information that we need and that will save us a lot of work not only to get this information but to use it as well. Second, as you already know, we all work in the morning sometimes we [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=beckh0m.wordpress.com&#038;blog=11025696&#038;post=30&#038;subd=beckh0m&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<div>
<p><strong><span style="text-decoration:underline;"><span style="font-size:16pt;line-height:115%;font-family:&amp;">Facebook to outlook </span></span></strong></p>
<p style="margin-left:35.45pt;">First, Facebook as a very successful social networking website already contains a lot of information that we need and that will save us a lot of work not only to get this information but to use it as well.</p>
<p style="margin-left:35.45pt;">Second, as you already know, we all work in the morning sometimes we don’t have time to turn around and certainly don’t have time to open up a browser window and typing the Facebook URL and start logging in, it seems a lot of time which sometimes we don’t have. But yet we would like to update our personal status on Facebook. So how can I do that without wasting all that time?!</p>
<p style="margin-left:51.3pt;">The solution is pretty easy, we all have outlook opened up since the very first second you boot up your computer at work as all work related mails comes through outlook, so why don’t we make it a bit funny and use it to update our status.<strong><em><span style="font-size:14pt;line-height:115%;font-family:&amp;"> </span></em></strong></p>
<p><strong><em><span style="font-size:14pt;line-height:115%;font-family:&amp;">The “Facebook to Outlook” plug-in consists of two main features</span></em></strong></p>
<ol>
<li> Friends to Contacts.</li>
<li> Update my status.</li>
<li>Send notification messages.</li>
</ol>
<p style="text-align:left;direction:ltr;unicode-bidi:embed;margin:0 0 10pt 51.3pt;"><span style="font-size:14pt;font-family:&amp;"> </span></p>
<p style="text-align:left;direction:ltr;unicode-bidi:embed;margin:0 0 10pt 51.3pt;"><em>So in this post I’m gonna walkthrough how to make the first plug-in as the rest is pretty much the same. Okay, let’s go</em></p>
<p style="margin-left:18pt;"><strong><span style="font-size:14pt;line-height:115%;font-family:&amp;">Friends to Contacts:</span></strong></p>
<p style="margin-left:51.3pt;">As a Facebook user I have a lot of friends on Facebook and those friends already published their information and I would like to have those friends in my outlook contact list. So instead of writing down the information of my Facebook friends I just thought it will be nice to have a button that I can click and it does all the work of getting my friends information and adding them to my outlook contact list.</p>
<p style="margin-left:51.3pt;">
<p style="margin-left:51.3pt;">The bad thing is the Facebook REST services don’t allow you to get the email address of friends but I guess it’s better to just modify an existing friend and add the email instead of adding the entire contact information.</p>
<h3>Getting friend’s information from Facebook.</h3>
<p>To get started developing applications with the Facebook API, you first need to register your application and get an API key from Facebook which will allow you to connect to their site and download data. Their <a href="http://developers.facebook.com/get_started.php">Get Started</a> page will lead you through the process.</p>
<p>Now that you have an API key, you can start developing. While you can connect to Facebook and get the information manually through HTTP REST calls,</p>
<p>Okay we first need to get the list of facebook friends:</p>
<p><img src="http://img519.imageshack.us/img519/523/loadfriendslu3.jpg" alt="" /></p>
<p><img src="http://img353.imageshack.us/img353/1227/eventsls9.jpg" alt="" /></p>
<p><img src="http://img176.imageshack.us/img176/7585/intializeservicesma0.jpg" alt="" /></p>
<p>Next, we bind the friends list <strong><span style="background:black none repeat scroll 0 0;font-size:10pt;font-family:Consolas;color:white;">FriendSelected</span></strong><strong><span style="font-size:10pt;font-family:Consolas;color:white;"> </span></strong>event, to allow the user to select his friends he wishes to add as outlook friends</p>
<p><span style="font-size:14pt;font-family:&amp;"><img src="http://img141.imageshack.us/img141/7854/friendsselectedee8.jpg" alt="" /></span></p>
<p><span style="font-size:14pt;font-family:&amp;"><img src="http://img353.imageshack.us/img353/3742/friendstocontactszn2.jpg" alt="" /></span></p>
<p>Next, we add some code to the <strong><span style="background:black none repeat scroll 0 0;font-size:10pt;font-family:Consolas;color:white;">SelectedIndexChanged</span></strong><strong> </strong>list to allow a user to remove a friend he already selected.</p>
<p><span style="font-size:14pt;font-family:&amp;"><img src="http://img156.imageshack.us/img156/1056/selectedindexchangedcf9.jpg" alt="" /></span></p>
<p>Finally, we write the code to move the facebook friends to our outlook contacts.</p>
<p><img src="http://img390.imageshack.us/img390/7924/addtocontactstu5.png" alt="" /></p>
<p><img src="http://img141.imageshack.us/img141/4201/addtomycontacts1gd1.jpg" alt="" /></p>
<p><img src="http://img266.imageshack.us/img266/3522/addtomycontacts2st5.jpg" alt="" /></p>
<p><img src="http://img519.imageshack.us/img519/6875/jobinfoyb8.jpg" alt="" /></p>
<p><img src="http://img519.imageshack.us/img519/8339/hobbyya1.jpg" alt="" /></p>
<p><img src="http://img360.imageshack.us/img360/8058/addgenderel4.jpg" alt="" /></p>
<p><img src="http://img119.imageshack.us/img119/1644/addimagenk4.jpg" alt="" /></p>
<p>and the final output is</p>
<p><img src="http://img168.imageshack.us/img168/1457/donesp0.jpg" alt="" /><br />
Beckham</p>
</div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/beckh0m.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/beckh0m.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/beckh0m.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/beckh0m.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/beckh0m.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/beckh0m.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/beckh0m.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/beckh0m.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/beckh0m.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/beckh0m.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/beckh0m.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/beckh0m.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/beckh0m.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/beckh0m.wordpress.com/30/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=beckh0m.wordpress.com&#038;blog=11025696&#038;post=30&#038;subd=beckh0m&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://beckh0m.wordpress.com/2008/12/16/why-go-facebook-when-you-can-outlook/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f1cb642e3bf0857c937c48cab52bcd3d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">beckh0m</media:title>
		</media:content>

		<media:content url="http://img519.imageshack.us/img519/523/loadfriendslu3.jpg" medium="image" />

		<media:content url="http://img353.imageshack.us/img353/1227/eventsls9.jpg" medium="image" />

		<media:content url="http://img176.imageshack.us/img176/7585/intializeservicesma0.jpg" medium="image" />

		<media:content url="http://img141.imageshack.us/img141/7854/friendsselectedee8.jpg" medium="image" />

		<media:content url="http://img353.imageshack.us/img353/3742/friendstocontactszn2.jpg" medium="image" />

		<media:content url="http://img156.imageshack.us/img156/1056/selectedindexchangedcf9.jpg" medium="image" />

		<media:content url="http://img390.imageshack.us/img390/7924/addtocontactstu5.png" medium="image" />

		<media:content url="http://img141.imageshack.us/img141/4201/addtomycontacts1gd1.jpg" medium="image" />

		<media:content url="http://img266.imageshack.us/img266/3522/addtomycontacts2st5.jpg" medium="image" />

		<media:content url="http://img519.imageshack.us/img519/6875/jobinfoyb8.jpg" medium="image" />

		<media:content url="http://img519.imageshack.us/img519/8339/hobbyya1.jpg" medium="image" />

		<media:content url="http://img360.imageshack.us/img360/8058/addgenderel4.jpg" medium="image" />

		<media:content url="http://img119.imageshack.us/img119/1644/addimagenk4.jpg" medium="image" />

		<media:content url="http://img168.imageshack.us/img168/1457/donesp0.jpg" medium="image" />
	</item>
	</channel>
</rss>
