Skip to content

Commit 93c2c46

Browse files
committed
update readme
1 parent ce80dea commit 93c2c46

1 file changed

Lines changed: 17 additions & 16 deletions

File tree

WEBHOOK_kor.md

Lines changed: 17 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -3,27 +3,28 @@ LINE Develpers.NET library를 이용하여 간단한 webhook을 테스트 하는
33

44
# quick start
55
## 1. [LINE Developers](https://developers.line.biz/console/) 이동
6-
* Messaging API → Channel access token (long-lived)을 발급 및 복사합니다.
6+
* Messaging API → Channel access token (long-lived)을 발급 및 복사합니다.
7+
78
## 2. open api project
8-
1. [line webhook sample](https://github.com/charles96/LineDevelopers.Net/tree/master/Src/LineDevelopers.Webhook.Sample) project 다운로드
9-
2. Visual Studio → open project
10-
3. LineController.cs
11-
* channel access token 수정
12-
```csharp
13-
public LineController()
14-
{
15-
_client = new LineMessagingClient("your channel access token"); //수정
16-
}
17-
```
18-
4. Visual Studio → F5를 통해 project 실행
19-
5. 아래와 같이 host 및 callback 경로를 기억한다.
20-
* ex) host : https://localhost:7250, callback url: /line/callback
21-
![image](https://github.com/charles96/LineDevelopers.Net/blob/master/Assets/swagger.png?raw=true)
9+
1. [line webhook sample](https://github.com/charles96/LineDevelopers.Net/tree/master/Src/LineDevelopers.Webhook.Sample) project 다운로드
10+
2. Visual Studio → open project
11+
3. LineController.cs
12+
* channel access token 수정
13+
```csharp
14+
public LineController()
15+
{
16+
_client = new LineMessagingClient("your channel access token"); //수정
17+
}
18+
```
19+
3. Visual Studio → F5를 통해 project 실행
20+
4. 아래와 같이 host 및 callback 경로를 기억한다.
21+
* ex) host : https://localhost:7250, callback url: /line/callback
22+
![image](https://github.com/charles96/LineDevelopers.Net/blob/master/Assets/swagger.png?raw=true)
2223

2324
## 3. ngrok 설치 및 세팅
2425
자신의 local에 생성한 api를 LINE Messanger 서버에서 직접 호출하기 위해 아래와 같은 절차가 필요하다.
2526
### 3-1. 자신의 pc환경에 맞는 ngrok을 다운로드
26-
* [ngrok download](https://ngrok.com/download)
27+
* [ngrok download](https://ngrok.com/download)
2728
### 3-2. ngrok 실행
2829
1. console에서 아래와 같이 자신의 localhost주소를 넣고 실행
2930
```console

0 commit comments

Comments
 (0)