integrate connections and twitter

Post on 16-Apr-2017

379 Views

Category:

Technology

2 Downloads

Preview:

Click to see full reader

TRANSCRIPT

Rock the ActivityStream API

Stefano Pogliani / Wannes RamsIBM / Ramsit

(Cloud and On Premises)

About us

www.ramsit.com/blog

linkedin.com/in/wannesrams

www.ramsit.com

twitter.com/wannesramstwitter.com/stefanopog linkedin.com/in/stefanopog

Tech.poglianis.net

Overview

• Introduction

• Technical goal

• Functional goal

• Architecture

• Demo

• Q & A

Introduction

• Demo built on

• Activity Stream

• OS Gadgets

• OAuth

• For Cloud and On Premises

• Built using PHP and Javascript

• Similar demo built with Node-RED on BlueMix

Introduction

• Scenario of the Demo

• Post a tweet to the IC Activity Stream

• Use an embedded experience to retweet or reply

• No re-authentication

Technical goal

• Interact with new IC ActivityStream API

• Invoke API’s using OAuth 2.0

• Use API’s to send and pull information to and from IC

• Send an event to the ActivityStream

• Open Social Gadget interaction with an external application

Technical Goal

Functional goal

• Integration between enterprise business processes and Collaborative tools

• Using new technologies

• ActivityStream = Cockpit

• In context

Important !

All the APIs we have been using are the same, whether we talk to an IBM Connections On Premises instance or to an IBM Connections Cloud instance !

The only significant difference is … (1)

The only significant difference is … (2)

The only significant difference is … (3)

The only significant difference is … (4)

The only significant difference is … (5)

The only significant difference is … (6)

This is all explained here (simple, after all)http://ibm.co/1NE7vXm

Authorizing the custom « gadget »

Defining the OAuth keys

Architecture – Posting to Connections

Client Program

Save Session

Get fromTwitter

1.

Post to Connections

2.

Architecture – Posting to Twitter

Client Program

Post to myProgram

1.

Saved Session2.

Post to Twitter

3.

Demo

PLATINUM & CHAMPAGNE SPONSORS

GOLD SPONSORS

SILVER SPONSORS

BRONZE SPONSORS

Bonus Slides

• From here on, slides show the flow of the application so that you could remember it….

Configuring the Access

Starting the Oauth dances….

Oauth with Twitter

OAuth with IBM Connections Cloud

Showing the Streams

Selecting an event from Twitter

Sending the Twitter event to IBM Connections

The events was succesfully sent

Yes, indeed, it was delivered !

Retwitting from the Activity Stream

Yes, it was retwetted !

top related