8000 GitHub - luisffc/social-customer: A simple Mule POC which enrich a customer database with latest customer tweets and facebook profile picture
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

A simple Mule POC which enrich a customer database with latest customer tweets and facebook profile picture

Notifications You must be signed in to change notification settings

luisffc/social-customer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Social Customer

This app aims to show you your customer's latest tweets and their Facebook profile picture.

Setup

Requirements

This app requires the following:

  • Mule Standalone 3.7.3
  • MySQL (any earlier version)
  • Access to Facebook and Twitter
  • App credentials to Facebook and Twitter
  • Write permition on /tmp/customers

Facebook and Twitter credentials

Put app credentials on src/main/app/mule-app.properties

Customer test data

Social Customer app watchs /tmp/customers folder for new CSV files in order to import to customers database

So, let's import test data by running the follow line from project's root folder:

cp src/test/resources/customer-input.csv /tmp/customers

Obs.: This is a random data got on a quick internet surf

Using

Facebook authorization

First you will need to authorize this app to use your Facebook account to get customer's profile picture. So, open http://localhost:8082/fbauthorize

API

  • /fbauthorize - Facebook API authorization
  • /customers - Returns all customers with their latest tweets
  • /fbphoto?fbuser=[facebookId] - Returns someones profile picture.

Enjoy it :)

About

A simple Mule POC which enrich a customer database with latest customer tweets and facebook profile picture

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0