SlideShare a Scribd company logo
1 of 23
Building Social 
Tools 
Socal Code camp - 2014
Social Tools 
• Action Oriented 
• Data Driven 
• Rapid Feedback
Social Tools Suite 
Reviews 
Aggregation 
Reputation 
Monitoring 
Content Discovery Content Publishing 
Realtime Feeds Analytics
Reviews Aggregation
Reviews Aggregation 
• Customer Reviews from Review Sites 
o Yelp, Edmunds, Facebook etc. 
o Metrics 
• Overall Rating 
• Reviews 
• Star Rating 
• Aggregation Models 
o API 
o Raw Webpage Analysis
Reviews Aggregation - API 
YelpTemplate yelp = new YelpTemplate( 
'yelp.consumerKey’, 'yelp.consumerSecret’, 
'yelp.token’,'yelp.tokenSecret') 
Business business = yelp.findById(‘bizId’) 
def overallRating = business.rating 
def reviews = business.reviews 
Setup: 
1.Pre-negotiated security tokens 
2.Rate limits
Reviews Aggregation - Toolkit 
o Web Based Extraction Tools 
• Import.IO ( http://import.io) 
oConvert web pages to table data. 
oLittle or No Coding
Reputation Monitoring
Reputation Monitoring 
• “Understanding or Influencing of an Individual’s or 
Business’s Reputation. “ 
• Look for Unstructured Information online. 
• Sentiment Analysis. 
• Sentiment Analysis – Computationally Identify and 
Categorize Opinion in a Piece of Text
Reputation Monitoring 
• Employ Techniques to find Information Online 
o Web Crawlers 
o RSS 
o Social Media Data
Web Crawling 
• 80legs.com , Scrapy.org etc. 
• Provide crawlable sites, depth, and # of results to 
return. 
• Plugins to filter returned html 
Create: 
POST https://api_token:@api.80legs.com/v2/crawls/{CRAWL_NAME} 
Status: 
GET https://api_token:@api.80legs.com/v2/crawls/{CRAWL_NAME} 
Results: 
GET https://api_token:@api.80legs.com/v2/results/{CRAWL_NAME}
Other Sources 
• RSS: 
o API for RSS/Atom Feeds 
o Rome/ Apache Abdera 
URL feedUrl = new URL(url); 
SyndFeed feed = fetcher.retreiveFeed(url) 
doStuff(feed.articles)
Other Sources 
• Social Mentions 
POST 
http://api2.socialmention.com/search?q=“socalcodecamp”&f=json& 
t=all&lang=en&apiKey=123dhdh7
Sentiment Analysis 
• Why  Lots of Opinions on the web 
• Machine Learning/ Lexicon Based 
Machine Learning Based 
• Collect Data 
• Label Data 
• Prepare and Upload Data 
• Predict new Data 
• Iterate 
Lexicon based 
• Tokenize Words, 
• Lematize Them ( good  gud .. ) 
• Assign negators/ intensifiers
Sentiment Analysis - Tools 
• Google Predictions API 
• Stanford NLP 
• Init training set 
• For each sentence 
o Break into words 
o Pass each word/phrase into training set to classify sentiment 
o Combine each classified word and sentiment to compute overall 
sentiment.
Content Discovery
Content Discovery 
• Discover Relevant Content 
• Purpose : To Engage more audience and attract 
Leads 
• Different Channels 
o RSS 
o Social Trends – Youtube , Twitter, Topsy… 
• Youtube Trends API 
• Twitter Trends API 
o Local News Feeds 
o Custom APIs
Trends API 
• GET https://api.twitter.com/1.1/trends/place.json?id=1
Content Publishing 
• Publishing Interesting Content to engage Users 
• Oauth Permission to Act on Client’s behalf 
o Provides Client Applications a ‘Secure’ Access to Server Resources on Behalf of a 
resource Owner 
• Publish to Multiple Channels at once. 
Twitter4j twit4j = Twitterfactory.getInstance() 
twit4j.setAuthorizationCode(…..) 
Tweet createdTweet = twit4j.post(“status Update”) 
FacebookClient client = new FacebookClient(); 
client.publish(“Message”, wallId);
• Most Popular 
o Facebook, Twitter, LinkedIn, Pinterest… 
• Twitter Post
Realtime Notifications 
• Notifications on your social media Actions 
• Techniques 
o HTTP Push 
o Persistent Connections 
• JVM Libraries Available 
o Twitter4j, HTTP APIs, Native Java APIs 
• Try Twitter
Analytics/Insights 
• Provider APIs 
o Facebook Insights API 
• /{page-id}/insights 
• /{post-id}/insights 
o Twitter Analytics 
• Analytics.twitter.com 
o Impressions, engagement rate 
o Interests, locations etc. 
• Thirdparty Providers – 
o Gnip , Datasift 
o Topsy Labs
Other Products 
• Hootsuite 
• Sprout Social 
• Buffer

More Related Content

What's hot

Not Big Data, AnyData
Not Big Data, AnyData Not Big Data, AnyData
Not Big Data, AnyData
bsidesaugusta
 

What's hot (20)

Building Beautiful REST APIs in ASP.NET Core
Building Beautiful REST APIs in ASP.NET CoreBuilding Beautiful REST APIs in ASP.NET Core
Building Beautiful REST APIs in ASP.NET Core
 
Api crash
Api crashApi crash
Api crash
 
API for Beginners
API for BeginnersAPI for Beginners
API for Beginners
 
In app search 1
In app search 1In app search 1
In app search 1
 
Web API Test Automation using Frisby & Node.js
Web API Test Automation using Frisby  & Node.jsWeb API Test Automation using Frisby  & Node.js
Web API Test Automation using Frisby & Node.js
 
RESTful API Design Best Practices Using ASP.NET Web API
RESTful API Design Best Practices Using ASP.NET Web APIRESTful API Design Best Practices Using ASP.NET Web API
RESTful API Design Best Practices Using ASP.NET Web API
 
Getting Started With Angular
Getting Started With AngularGetting Started With Angular
Getting Started With Angular
 
API Testing with Frisby and Mocha
API Testing with Frisby and MochaAPI Testing with Frisby and Mocha
API Testing with Frisby and Mocha
 
Secure RESTful API Automation With JavaScript
Secure RESTful API Automation With JavaScriptSecure RESTful API Automation With JavaScript
Secure RESTful API Automation With JavaScript
 
Pragmatic REST APIs
Pragmatic REST APIsPragmatic REST APIs
Pragmatic REST APIs
 
A Tasty deep-dive into Open API Specification Links
A Tasty deep-dive into Open API Specification LinksA Tasty deep-dive into Open API Specification Links
A Tasty deep-dive into Open API Specification Links
 
Web Hacking Series Part 5
Web Hacking Series Part 5Web Hacking Series Part 5
Web Hacking Series Part 5
 
Building an API Security Ecosystem
Building an API Security EcosystemBuilding an API Security Ecosystem
Building an API Security Ecosystem
 
Not Big Data, AnyData
Not Big Data, AnyData Not Big Data, AnyData
Not Big Data, AnyData
 
SPSNL17 - Getting notified by SharePoint with the webhook functionality - Eli...
SPSNL17 - Getting notified by SharePoint with the webhook functionality - Eli...SPSNL17 - Getting notified by SharePoint with the webhook functionality - Eli...
SPSNL17 - Getting notified by SharePoint with the webhook functionality - Eli...
 
The never-ending REST API design debate
The never-ending REST API design debateThe never-ending REST API design debate
The never-ending REST API design debate
 
API-Driven Relationships: Building The Trans-Internet Express of the Future
API-Driven Relationships: Building The Trans-Internet Express of the FutureAPI-Driven Relationships: Building The Trans-Internet Express of the Future
API-Driven Relationships: Building The Trans-Internet Express of the Future
 
How to build a rest api
How to build a rest apiHow to build a rest api
How to build a rest api
 
APIs 101: What are they? What do they have to do with genealogy?
APIs 101: What are they? What do they have to do with genealogy?APIs 101: What are they? What do they have to do with genealogy?
APIs 101: What are they? What do they have to do with genealogy?
 
Prototyping applications with heroku and elasticsearch
 Prototyping applications with heroku and elasticsearch Prototyping applications with heroku and elasticsearch
Prototyping applications with heroku and elasticsearch
 

Viewers also liked

When air becomes deadly by. Vichinsky Elien
When air becomes deadly by. Vichinsky ElienWhen air becomes deadly by. Vichinsky Elien
When air becomes deadly by. Vichinsky Elien
vichinskye
 
Abnt nbr 14639 posto de servico - instalacoes eletricas
Abnt nbr 14639   posto de servico - instalacoes eletricasAbnt nbr 14639   posto de servico - instalacoes eletricas
Abnt nbr 14639 posto de servico - instalacoes eletricas
Mônica Nobrega
 
Seguranca com-escadas-rampas-passarelas-construcao-civil
Seguranca com-escadas-rampas-passarelas-construcao-civilSeguranca com-escadas-rampas-passarelas-construcao-civil
Seguranca com-escadas-rampas-passarelas-construcao-civil
Mônica Nobrega
 

Viewers also liked (18)

Альтернатива-Климат. Общая информация
Альтернатива-Климат. Общая информацияАльтернатива-Климат. Общая информация
Альтернатива-Климат. Общая информация
 
Top 3 khu căn hộ tốt nhất việt nam
Top 3 khu căn hộ tốt nhất việt namTop 3 khu căn hộ tốt nhất việt nam
Top 3 khu căn hộ tốt nhất việt nam
 
Книжкин дом в городе моем
Книжкин дом в городе моемКнижкин дом в городе моем
Книжкин дом в городе моем
 
Константа годового календаря на 2015 год. МКУ "ЦБС" ГО "город Якутск"
Константа годового календаря на 2015 год. МКУ "ЦБС" ГО "город Якутск"Константа годового календаря на 2015 год. МКУ "ЦБС" ГО "город Якутск"
Константа годового календаря на 2015 год. МКУ "ЦБС" ГО "город Якутск"
 
Gioi thieu sunview town111
Gioi thieu sunview town111Gioi thieu sunview town111
Gioi thieu sunview town111
 
Презентация АЛЬТЕРНАТИВА КЛИМАТ
Презентация АЛЬТЕРНАТИВА КЛИМАТПрезентация АЛЬТЕРНАТИВА КЛИМАТ
Презентация АЛЬТЕРНАТИВА КЛИМАТ
 
Mua nhà tầm trung tiện ích tầm cao nào
Mua nhà tầm trung tiện ích tầm cao nàoMua nhà tầm trung tiện ích tầm cao nào
Mua nhà tầm trung tiện ích tầm cao nào
 
South JVM Users Group Talk - Building Social Media Tools using JVM Supported ...
South JVM Users Group Talk - Building Social Media Tools using JVM Supported ...South JVM Users Group Talk - Building Social Media Tools using JVM Supported ...
South JVM Users Group Talk - Building Social Media Tools using JVM Supported ...
 
When air becomes deadly by. Vichinsky Elien
When air becomes deadly by. Vichinsky ElienWhen air becomes deadly by. Vichinsky Elien
When air becomes deadly by. Vichinsky Elien
 
Бізнес-план теплиць
Бізнес-план теплицьБізнес-план теплиць
Бізнес-план теплиць
 
Abnt nbr 14639 posto de servico - instalacoes eletricas
Abnt nbr 14639   posto de servico - instalacoes eletricasAbnt nbr 14639   posto de servico - instalacoes eletricas
Abnt nbr 14639 posto de servico - instalacoes eletricas
 
02 manual andaime-tubular
02 manual andaime-tubular02 manual andaime-tubular
02 manual andaime-tubular
 
МБА "Молодо-зелено" - 2014
МБА  "Молодо-зелено" - 2014МБА  "Молодо-зелено" - 2014
МБА "Молодо-зелено" - 2014
 
Treinamento+sobre+gerenciamento+e+percepção+de+riscos 1
Treinamento+sobre+gerenciamento+e+percepção+de+riscos 1Treinamento+sobre+gerenciamento+e+percepção+de+riscos 1
Treinamento+sobre+gerenciamento+e+percepção+de+riscos 1
 
Seguranca com-escadas-rampas-passarelas-construcao-civil
Seguranca com-escadas-rampas-passarelas-construcao-civilSeguranca com-escadas-rampas-passarelas-construcao-civil
Seguranca com-escadas-rampas-passarelas-construcao-civil
 
Презентация к докладу. Библиотеки в культурном ареале детства
Презентация к докладу. Библиотеки в культурном ареале детстваПрезентация к докладу. Библиотеки в культурном ареале детства
Презентация к докладу. Библиотеки в культурном ареале детства
 
Методика организации летнего чтения
Методика организации летнего чтенияМетодика организации летнего чтения
Методика организации летнего чтения
 
Виртуальная выставка как форма раскрытия фонда
Виртуальная выставка как форма раскрытия фондаВиртуальная выставка как форма раскрытия фонда
Виртуальная выставка как форма раскрытия фонда
 

Similar to Building Social Tools

Harnessing Free Content with Web Service APIs
Harnessing Free Content with Web Service APIsHarnessing Free Content with Web Service APIs
Harnessing Free Content with Web Service APIs
ALATechSource
 

Similar to Building Social Tools (20)

Fun! with the Twitter API
Fun! with the Twitter APIFun! with the Twitter API
Fun! with the Twitter API
 
Building APIs in an easy way using API Platform
Building APIs in an easy way using API PlatformBuilding APIs in an easy way using API Platform
Building APIs in an easy way using API Platform
 
Logic apps and PowerApps - Integrate across your APIs
Logic apps and PowerApps - Integrate across your APIsLogic apps and PowerApps - Integrate across your APIs
Logic apps and PowerApps - Integrate across your APIs
 
Harnessing Free Content with Web Service APIs
Harnessing Free Content with Web Service APIsHarnessing Free Content with Web Service APIs
Harnessing Free Content with Web Service APIs
 
An introduction to the API for OnTime for IBM
An introduction to the API for OnTime for IBMAn introduction to the API for OnTime for IBM
An introduction to the API for OnTime for IBM
 
James Higginbotham - API Design
James Higginbotham - API DesignJames Higginbotham - API Design
James Higginbotham - API Design
 
Building RESTful APIs
Building RESTful APIsBuilding RESTful APIs
Building RESTful APIs
 
APIエコノミー時代の認証・認可
APIエコノミー時代の認証・認可APIエコノミー時代の認証・認可
APIエコノミー時代の認証・認可
 
Spring Social - Messaging Friends & Influencing People
Spring Social - Messaging Friends & Influencing PeopleSpring Social - Messaging Friends & Influencing People
Spring Social - Messaging Friends & Influencing People
 
Create Salesforce online IDE in 30 minutes
Create Salesforce online IDE in 30 minutesCreate Salesforce online IDE in 30 minutes
Create Salesforce online IDE in 30 minutes
 
Understanding Identity in the World of Web APIs – Ronnie Mitra, API Architec...
Understanding Identity in the World of Web APIs – Ronnie Mitra,  API Architec...Understanding Identity in the World of Web APIs – Ronnie Mitra,  API Architec...
Understanding Identity in the World of Web APIs – Ronnie Mitra, API Architec...
 
Open social & cmis oasistc-20100712
Open social & cmis   oasistc-20100712Open social & cmis   oasistc-20100712
Open social & cmis oasistc-20100712
 
Austin Day of Rest - Introduction
Austin Day of Rest - IntroductionAustin Day of Rest - Introduction
Austin Day of Rest - Introduction
 
API Workshop: Deep dive into REST APIs
API Workshop: Deep dive into REST APIsAPI Workshop: Deep dive into REST APIs
API Workshop: Deep dive into REST APIs
 
DEVNET-2002 Coding 201: Coding Skills 201: Going Further with REST and Python...
DEVNET-2002	Coding 201: Coding Skills 201: Going Further with REST and Python...DEVNET-2002	Coding 201: Coding Skills 201: Going Further with REST and Python...
DEVNET-2002 Coding 201: Coding Skills 201: Going Further with REST and Python...
 
Externalizing Authorization in Micro Services world
Externalizing Authorization in Micro Services worldExternalizing Authorization in Micro Services world
Externalizing Authorization in Micro Services world
 
API Design & Security in django
API Design & Security in djangoAPI Design & Security in django
API Design & Security in django
 
Создание API, которое полюбят разработчики. Глубокое погружение
Создание API, которое полюбят разработчики. Глубокое погружениеСоздание API, которое полюбят разработчики. Глубокое погружение
Создание API, которое полюбят разработчики. Глубокое погружение
 
CSE5656 Complex Networks - Gathering Data from Twitter
CSE5656 Complex Networks - Gathering Data from TwitterCSE5656 Complex Networks - Gathering Data from Twitter
CSE5656 Complex Networks - Gathering Data from Twitter
 
Api fundamentals
Api fundamentalsApi fundamentals
Api fundamentals
 

Recently uploaded

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 

Recently uploaded (20)

Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Cyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdfCyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdf
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 

Building Social Tools

  • 1. Building Social Tools Socal Code camp - 2014
  • 2. Social Tools • Action Oriented • Data Driven • Rapid Feedback
  • 3. Social Tools Suite Reviews Aggregation Reputation Monitoring Content Discovery Content Publishing Realtime Feeds Analytics
  • 5. Reviews Aggregation • Customer Reviews from Review Sites o Yelp, Edmunds, Facebook etc. o Metrics • Overall Rating • Reviews • Star Rating • Aggregation Models o API o Raw Webpage Analysis
  • 6. Reviews Aggregation - API YelpTemplate yelp = new YelpTemplate( 'yelp.consumerKey’, 'yelp.consumerSecret’, 'yelp.token’,'yelp.tokenSecret') Business business = yelp.findById(‘bizId’) def overallRating = business.rating def reviews = business.reviews Setup: 1.Pre-negotiated security tokens 2.Rate limits
  • 7. Reviews Aggregation - Toolkit o Web Based Extraction Tools • Import.IO ( http://import.io) oConvert web pages to table data. oLittle or No Coding
  • 9. Reputation Monitoring • “Understanding or Influencing of an Individual’s or Business’s Reputation. “ • Look for Unstructured Information online. • Sentiment Analysis. • Sentiment Analysis – Computationally Identify and Categorize Opinion in a Piece of Text
  • 10. Reputation Monitoring • Employ Techniques to find Information Online o Web Crawlers o RSS o Social Media Data
  • 11. Web Crawling • 80legs.com , Scrapy.org etc. • Provide crawlable sites, depth, and # of results to return. • Plugins to filter returned html Create: POST https://api_token:@api.80legs.com/v2/crawls/{CRAWL_NAME} Status: GET https://api_token:@api.80legs.com/v2/crawls/{CRAWL_NAME} Results: GET https://api_token:@api.80legs.com/v2/results/{CRAWL_NAME}
  • 12. Other Sources • RSS: o API for RSS/Atom Feeds o Rome/ Apache Abdera URL feedUrl = new URL(url); SyndFeed feed = fetcher.retreiveFeed(url) doStuff(feed.articles)
  • 13. Other Sources • Social Mentions POST http://api2.socialmention.com/search?q=“socalcodecamp”&f=json& t=all&lang=en&apiKey=123dhdh7
  • 14. Sentiment Analysis • Why  Lots of Opinions on the web • Machine Learning/ Lexicon Based Machine Learning Based • Collect Data • Label Data • Prepare and Upload Data • Predict new Data • Iterate Lexicon based • Tokenize Words, • Lematize Them ( good  gud .. ) • Assign negators/ intensifiers
  • 15. Sentiment Analysis - Tools • Google Predictions API • Stanford NLP • Init training set • For each sentence o Break into words o Pass each word/phrase into training set to classify sentiment o Combine each classified word and sentiment to compute overall sentiment.
  • 17. Content Discovery • Discover Relevant Content • Purpose : To Engage more audience and attract Leads • Different Channels o RSS o Social Trends – Youtube , Twitter, Topsy… • Youtube Trends API • Twitter Trends API o Local News Feeds o Custom APIs
  • 18. Trends API • GET https://api.twitter.com/1.1/trends/place.json?id=1
  • 19. Content Publishing • Publishing Interesting Content to engage Users • Oauth Permission to Act on Client’s behalf o Provides Client Applications a ‘Secure’ Access to Server Resources on Behalf of a resource Owner • Publish to Multiple Channels at once. Twitter4j twit4j = Twitterfactory.getInstance() twit4j.setAuthorizationCode(…..) Tweet createdTweet = twit4j.post(“status Update”) FacebookClient client = new FacebookClient(); client.publish(“Message”, wallId);
  • 20. • Most Popular o Facebook, Twitter, LinkedIn, Pinterest… • Twitter Post
  • 21. Realtime Notifications • Notifications on your social media Actions • Techniques o HTTP Push o Persistent Connections • JVM Libraries Available o Twitter4j, HTTP APIs, Native Java APIs • Try Twitter
  • 22. Analytics/Insights • Provider APIs o Facebook Insights API • /{page-id}/insights • /{post-id}/insights o Twitter Analytics • Analytics.twitter.com o Impressions, engagement rate o Interests, locations etc. • Thirdparty Providers – o Gnip , Datasift o Topsy Labs
  • 23. Other Products • Hootsuite • Sprout Social • Buffer

Editor's Notes

  1. http://www.yelp.com/biz/starbucks-el-segundo
  2. http://www.edmunds.com/dealerships/California/ManhattanBeach/ManhattanBeachToyotaScion_2/sales.4.html?sorttype=createdate-desc
  3. Demo pages or throw in some points
  4. https://apps.dealer.com/social/as/precisionacuraofprincetonadw/precisionacuraofprincetonadw-admin/content/browse
  5. http://api2.socialmention.com/search?q=%E2%80%9Csocalcodecamp%E2%80%9D&f=json&t=all&lang=en&apiKey=123dhdh7
  6. Examples, and Demos for each
  7. http://text-processing.com/demo/sentiment/ http://nlp.stanford.edu:8080/sentiment/rntnDemo.html
  8. https://apps.dealer.com/social/as/ddcdemobmw/ddcdemobmw-admin/socialSyndication/index/facebook?disconnect=Disconnect
  9. https://dev.twitter.com/oauth/tools/signature-generator/6648800?nid=812