integrate connections and twitter

34
Rock the ActivityStream API Stefano Pogliani / Wannes Rams IBM / Ramsit (Cloud and On Premises)

Upload: stefano-pogliani

Post on 16-Apr-2017

379 views

Category:

Technology


2 download

TRANSCRIPT

Page 1: Integrate connections and twitter

Rock the ActivityStream API

Stefano Pogliani / Wannes RamsIBM / Ramsit

(Cloud and On Premises)

Page 2: Integrate connections and twitter

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

Page 3: Integrate connections and twitter

Overview

• Introduction

• Technical goal

• Functional goal

• Architecture

• Demo

• Q & A

Page 4: Integrate connections and twitter

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

Page 5: Integrate connections and twitter

Introduction

• Scenario of the Demo

• Post a tweet to the IC Activity Stream

• Use an embedded experience to retweet or reply

• No re-authentication

Page 6: Integrate connections and twitter

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

Page 7: Integrate connections and twitter

Technical Goal

Page 8: Integrate connections and twitter

Functional goal

• Integration between enterprise business processes and Collaborative tools

• Using new technologies

• ActivityStream = Cockpit

• In context

Page 9: Integrate connections and twitter

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 !

Page 10: Integrate connections and twitter

The only significant difference is … (1)

Page 11: Integrate connections and twitter

The only significant difference is … (2)

Page 12: Integrate connections and twitter

The only significant difference is … (3)

Page 13: Integrate connections and twitter

The only significant difference is … (4)

Page 14: Integrate connections and twitter

The only significant difference is … (5)

Page 15: Integrate connections and twitter

The only significant difference is … (6)

Page 16: Integrate connections and twitter

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

Page 17: Integrate connections and twitter

Authorizing the custom « gadget »

Page 18: Integrate connections and twitter

Defining the OAuth keys

Page 19: Integrate connections and twitter

Architecture – Posting to Connections

Client Program

Save Session

Get fromTwitter

1.

Post to Connections

2.

Page 20: Integrate connections and twitter

Architecture – Posting to Twitter

Client Program

Post to myProgram

1.

Saved Session2.

Post to Twitter

3.

Page 21: Integrate connections and twitter

Demo

Page 22: Integrate connections and twitter

PLATINUM & CHAMPAGNE SPONSORS

GOLD SPONSORS

SILVER SPONSORS

BRONZE SPONSORS

Page 23: Integrate connections and twitter

Bonus Slides

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

Page 24: Integrate connections and twitter

Configuring the Access

Page 25: Integrate connections and twitter

Starting the Oauth dances….

Page 26: Integrate connections and twitter

Oauth with Twitter

Page 27: Integrate connections and twitter

OAuth with IBM Connections Cloud

Page 28: Integrate connections and twitter

Showing the Streams

Page 29: Integrate connections and twitter

Selecting an event from Twitter

Page 30: Integrate connections and twitter

Sending the Twitter event to IBM Connections

Page 31: Integrate connections and twitter

The events was succesfully sent

Page 32: Integrate connections and twitter

Yes, indeed, it was delivered !

Page 33: Integrate connections and twitter

Retwitting from the Activity Stream

Page 34: Integrate connections and twitter

Yes, it was retwetted !