Social Media Application Development - Stay Tuned
Agenda• What is Social Media?• Few popular Social Medias• Why Social Medias?• Few facts and figures• Social Media Applications• Creating a Social Media App• Q/A
Few standard definitions…• Social media is an umbrella term that defines the various activities that integrate technology, social interaction, and the construction of words, pictures, videos and audio.• Social media is people having conversations online.• Social media is media for social interaction
Few popular social medias MySpace: With over 68 million people visiting a month, can you afford to ignore it?Facebook: this site is perfect for grabbing the attention of educated professionals. LinkedIn: Site when you want to reach a skilled audience, as it allows networking among professionals.You Tube: View / post videos (e.g. Post videos your companyhas created to an audience of millions) Flickr: Share visual content in a way that engages viewers. Upload pictures and videos to share with your audience.Twitter: A service to Communicate and stay connected through theexchange of quick, frequent answers to one simple questions:What are you doing?
• 3 out of 4 Americans use social technology.• 2/3 of the global internet population Visit social networks.• Visiting social sites is now the 4th most popular online activity—ahead of personal email.• Time spent on social networks is growing at 3X the overall Internet rate, accounting for ~10% of all Internet time.• Social media is democratizing communications.• Technology is shifting the power away from the editors, the publishers, the establishment, the media elite. Now it’s the people who are in control.
Few Interesting facts• 13 HOURS The amount of video uploaded to YouTube every minute.• 412.3 YEARS The length of time it would take to view every YouTube video.• 100,000,000 The number of YouTube videos viewed per day.• 13,000,000 The number of articles available on Wikipedia.• 3,600,000,000 The number of photos archived on Flickr.com. That’s roughly 1 photo per every 2 people on the planet.• 845 million active users on FB as in February 2012• 3,000,000 The average number of Tweets per day on Twitter.com• 5,000,000,000 The number of minutes spent on Facebook each day.• 1,000,000,000 The amount of content shared each week on Facebook.
Applications around SM1. Using Social media features in your existing web/mobile applications2. Creating applications for social media
OAuth 2.0• OAuth (Open Authorization) is an open standard for authorization. It allows users to share their private resources (e.g. photos, videos, contact lists) stored on one site with another site without having to hand out their credentials.• Instead of using the resource owners credentials to access protected resources, the client obtains an access token - a string denoting a specific scope, lifetime, and other access attributes. Access tokens are issued to third-party clients by an authorization server with the approval of the resource owner. The client uses the access token to access the protected resources hosted by the resource server.
Create app using OAuth• Register your app• Get secret keys (app identification id)• Use secret key in your app to call that SM page• SM will recognize app by the key• To access data of the user, send authorization key to SM which will return an access key.• Using this access key, pull users data to your site from SM• SM returns different urls to access data in XML/JSON format• These urls are basically REST web services
How to create a Facebook application• Register your app on FB, get consumerkey and consumersecret key• Call AuthorizationLinkGet() method which will return url for FB login• After login, FB will redirect you to your website with authorization token which means you are an authorized user• Call AccessTokenGet(Request.QueryString["code"]) to get access token which will allow you to access data from FB• After getting authorization token we can uses returned urls to get data in JSON format
Creating LinkedIn application• Register your app on LinkedIn, get consumerkey and consumersecret key• Add LinkedIn class files in app.• Call the provided methods using above keys• Get Linkedin login page, verify user, returns back to your app• Linked provides you (1) oauth_token and (2) oauth_verifier• Call APIWebRequest method and pass OAuth token to access data from linked in• Date returned will be in XML format