Managing Your Nonprofit's FACEBOOK, TWITTER, and LINKEDIN ...
Integrate Business Apps with Facebook, Twitter, and LinkedIn
-
Upload
salesforce-developers -
Category
Documents
-
view
568 -
download
3
description
Transcript of Integrate Business Apps with Facebook, Twitter, and LinkedIn
Integrate Business Apps
with Facebook, Twitter, and LinkedIn
Mark Trang, SocialPandas, CEO
@marktrang
Jason Ouellette, SocialPandas, CTO
@jmouel
Safe Harbor
Safe harbor statement under the Private Securities Litigation Reform Act of 1995:
This presentation may contain forward-looking statements that involve risks, uncertainties, and assumptions. If any such uncertainties materialize or if
any of the assumptions proves incorrect, the results of salesforce.com, inc. could differ materially from the results expressed or implied by the forward-
looking statements we make. All statements other than statements of historical fact could be deemed forward-looking, including any projections of
product or service availability, subscriber growth, earnings, revenues, or other financial items and any statements regarding strategies or plans of
management for future operations, statements of belief, any statements concerning new, planned, or upgraded services or technology developments
and customer contracts or use of our services.
The risks and uncertainties referred to above include – but are not limited to – risks associated with developing and delivering new functionality for our
service, new products and services, our new business model, our past operating losses, possible fluctuations in our operating results and rate of growth,
interruptions or delays in our Web hosting, breach of our security measures, the outcome of intellectual property and other l itigation, risks associated
with possible mergers and acquisitions, the immature market in which we operate, our relatively limited operating history, our ability to expand, retain,
and motivate our employees and manage our growth, new releases of our service and successful customer deployment, our limited history reselling
non-salesforce.com products, and utilization and selling to larger enterprise customers. Further information on potential factors that could affect the
financial results of salesforce.com, inc. is included in our annual report on Form 10-Q for the most recent fiscal quarter ended July 31, 2012. This
documents and others containing important disclosures are available on the SEC Filings section of the Investor Information section of our Web site.
Any unreleased services or features referenced in this or other presentations, press releases or public statements are not currently available and may
not be delivered on time or at all. Customers who purchase our services should make the purchase decisions based upon features that are currently
available. Salesforce.com, inc. assumes no obligation and does not intend to update these forward-looking statements.
SocialPandas: Social Selling Platform for B2B
What We Do Who We Are We’re Hiring!
Leads
Revenue
Investors include:
The Social Business Era is Here
Marketing & PR
Customer Service Collaboration
Recruiting
Generate and monitor viral awareness
Internal social employee collaboration
Attract talent via social networks
Deliver customer service via social
HR
Manage & develop employees
CRM
Engage and grow customer relationships
What This Means for You
New IT Projects New Consulting Gigs New Companies to Join
(or start yourself!)
Jason Ouellette
Chief Technology Officer
Agenda
Social API overview
Sample app
Demo
Component walkthrough
Dependencies
Social identity & authentication
Social data import workers
Wrap-up, resources, Q&A
Social API Overview
Provider Data Examples Restrictions
Facebook Objects (Users, Groups, Events)
Relationships (Friends, Likes)
Undocumented
LinkedIn People
Companies
Groups
Jobs
Daily “Throttle Limits” per User,
Application
Twitter Users
Relationships (Followers, Friends)
Tweets
Hourly Limits
Rate Limits per API Type
Chatter Users
Feeds (Posts, Comments)
Daily API Request Limit
Query Language Limits
Sample App: Demo
Sample App: Component Walkthrough (1/2)
Rails
PostgreSQL
CoffeeScript
Sass
Bootstrap
Gems to provide social API access
Sample App: Component Walkthrough (2/2)
Sessions Controller
People
Game Controller
Workers
Game Client (JS)
index.html Sign in/out
Import (from Social API Provider)
Names, Photo URLs
Get people,
Eval answer
Sample App: Dependencies
GEM Purpose URL
omniauth External Authentication https://github.com/intridea/omniauth
twitter Twitter - Followers, Friends http://twitter.rubyforge.org
linkedin LinkedIn - People https://github.com/pengwynn/linkedi
n
koala Facebook - Users https://github.com/arsduo/koala
databasedotcom Chatter - Users https://github.com/heroku/database
dotcom
Sample App: Social Identity & Authentication (1/4)
Create models
rails generate scaffold User \
name:string photo_url:string
rails generate scaffold Authentication \
user_id:integer provider:integer \
uid:string token:string refresh_token:string info:string
rails generate scaffold Person \
user_id:integer name:string photo_url:string provider:integer
Sample App: Social Identity & Authentication (2/4)
Initialize OmniAuth (config/initializers/omniauth.rb)
Sample App: Social Identity & Authentication (3/4)
Lookup and create user, authentication records via model
Sample App: Social Identity & Authentication (4/4)
Wire up sign-in and sign-out to OmniAuth
Play the game: http://www.socialnamegame.com
Sample App: Social Data Import Workers (1/4)
Sample App: Social Data Import Workers (2/4)
Sample App: Social Data Import Workers (3/4)
Sample App: Social Data Import Workers (4/4)
Salesforce
Wrap-Up
Social APIs are easy to use, but intentionally limited by providers
Like database calls in Apex, bulkify your Social API calls
Cache data where permitted
Think about client vs. server usage patterns, mix and match
Embrace OAuth for identity and authentication
Avoid the chore of managing your own user authentication scheme
Go forth and build social apps!
Resources
Sample app code
https://github.com/jmouel/socialnamegame
Getting started with Rails, Rails 3.x on Heroku
http://guides.rubyonrails.org/getting_started.html
https://devcenter.heroku.com/articles/rails3
Identity and authentication
Simple OmniAuth: http://railscasts.com/episodes/241-simple-omniauth
Devise: https://github.com/plataformatec/devise
Mark Trang
CEO / SocialPandas,
@marktrang
Jason Ouellette
CTO / SocialPandas,
@jmouel