Skip to content

Commit f6a42d3

Browse files
author
Jim Crowley
authored
Merge pull request #13 from Hongbo-Miao/master
doc: update screenshots
2 parents 72705ab + d2d0241 commit f6a42d3

File tree

3 files changed

+14
-7
lines changed

3 files changed

+14
-7
lines changed

README.md

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,20 @@ This Node.js sample shows how to start getting notifications from Microsoft Grap
88
* Send back a validation token to confirm the notification URL.
99
* Listen for notifications from Microsoft Graph.
1010
* Request for more information in Microsoft Office 365 using data in the notification.
11-
12-
![Microsoft Graph Webhook Sample for Node.js screenshot](https://user-images.githubusercontent.com/3375461/27248965-40a3e74c-52c0-11e7-95bf-6963696e3d3a.png)
1311

14-
The previous screenshot shows the app in action. After your app gets a subscription, your app gets a notification when events happen in user data. Your app can then react to the event. This sample writes a list item for every notification received by the notification URL.
12+
## Screenshots
13+
14+
1. First you need sign in.
15+
16+
![sign in](https://user-images.githubusercontent.com/3375461/31968683-c373ad30-b8c6-11e7-9d01-413fab9fd6d5.png)
17+
18+
2. Once signing in, the app will listen to the incoming emails.
19+
20+
![listening](https://user-images.githubusercontent.com/3375461/31968718-e19696c4-b8c6-11e7-91f2-f1806be0b134.png)
21+
22+
3. After sending the email to the address, you will see the email in the app.
23+
24+
![email](https://user-images.githubusercontent.com/3375461/31968754-0ce4dafc-b8c7-11e7-8458-8152d598228e.png)
1525

1626
## Prerequisites
1727

public/home.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@
66
</head>
77

88
<body>
9-
<h1>Listening to Webhook</h1>
10-
9+
<p>Listening to Webhook</p>
1110
<p>Subscription Id: <b id="subscriptionId"></b></p>
1211
<p>Now send an email to <b id="userId"></b> to get an email notification which will show below.</p>
1312

public/index.html

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33
</head>
44

55
<body>
6-
<h1>Microsoft Graph Webhook</h1>
7-
86
<button onclick="location.href='/signin'">
97
Sign in with a work or school account
108
</button>

0 commit comments

Comments
 (0)