양쪽 이전 판
이전 판
다음 판
|
이전 판
|
wiki:sns:facebook [2022/07/26 19:12] dhan |
wiki:sns:facebook [2023/05/23 10:43] (현재) dhan |
<WRAP clear/> | <WRAP clear/> |
| |
===== 체크리스트 ===== | ===== 토큰 검증 체크리스트 ===== |
1. 사용자 액세스 토큰 ? 페이지 엑세스 토큰 | <todo>사용자 액세스 토큰 ? 페이지 엑세스 토큰</todo> \\ |
2. 결과가 나와함 함 https://graph.facebook.com/unikorea/feed?fields=id,from,message,picture,permalink_url,application,created_time,updated_time,attachments&limit=10&date_format=U&access_token=${페이지액세스토큰} | <todo>결과 확인 https://graph.facebook.com/unikorea/feed?fields=id,from,message,picture,permalink_url,application,created_time,updated_time,attachments&limit=10&date_format=U&access_token=${페이지액세스토큰} </todo> \\ |
| |
===== Troubleshooting ===== | ===== Troubleshooting ===== |
발급 받은 토큰이 User, Page인지 반드시 확인 하자. | 발급 받은 토큰이 User, Page인지 반드시 확인 하자. |
| |
| ===== 영구 토큰 발급 방법 ===== |
| |
| <code bash> |
| 도구 > 그래프 API 탐색기에서: 페이지ID?fields=access_token |
| 결과 값에 영구 토큰이 있음 |
| |
| 페이지ID는 도구 > 액세스 토큰 디버거에서 페이지ID 확인 가능 |
| </code> |
| |
| [[https://sowon-dev.github.io/2021/01/31/210201facebookPermanentToken/|페이스북 영구 토큰 발급하기]] \\ |
| [[https://gmyankee.tistory.com/239|페이스북 페이지 액세스 토큰 만료 없애기]] \\ |
| |
===== Ref ===== | ===== Ref ===== |
[[https://developers.facebook.com/docs/graph-api/overview/rate-limiting/|]] | [[https://developers.facebook.com/docs/graph-api/overview/rate-limiting/|]] |
> 시간당 200회 | > 시간당 200회 |
| |
| [[https://developers.facebook.com/docs/facebook-login/guides/access-tokens#pagetokens|액세스 토큰]] \\ |
[[https://developers.facebook.com/docs/facebook-login/guides/access-tokens/get-long-lived|장기 실행 액세스 토큰]] \\ | [[https://developers.facebook.com/docs/facebook-login/guides/access-tokens/get-long-lived|장기 실행 액세스 토큰]] \\ |
| |
| |
| |
{{tag>주레피 facebook feed}} | {{tag>주레피 facebook feed}} |
| |