API
페이스북 API
약 20억 명의 일일 사용자가 게시물, 사진, 비디오, 그룹, 이벤트 및 마켓플레이스 목록을 공유하는 페이스북은 커뮤니티 도달, 고객 서비스, 현지 발견 및 소셜 커머스에 있어 중요합니다.
API 참조 버전: 1.0.0 29 엔드포인트 인증
기본 URL
https://api.pressmonitor.com 인증
모든 요청은 Bearer 토큰 인증을 사용합니다. 각 호출에 Authorization 헤더를 추가하세요.
Authorization: Bearer YOUR_API_KEY
x-subscription-id: YOUR_SUB_ID GET
/events-search 이벤트 검색
매개변수
| 이름 | 유형 | 위치 | 필수 | 설명 |
|---|---|---|---|---|
| query | string | query | 예 | 검색 쿼리 |
| end_cursor | string | query | 아니요 | 끝 커서 |
코드 예제
curl -X GET "https://api.pressmonitor.com/events-search?query=VALUE" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID" 응답
200 성공
GET
/get-post 게시물 가져오기
매개변수
| 이름 | 유형 | 위치 | 필수 | 설명 |
|---|---|---|---|---|
| post_id | string | query | 예 | 게시물 ID |
코드 예제
curl -X GET "https://api.pressmonitor.com/get-post?post_id=VALUE" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID" 응답
200 성공
GET
/group-info 그룹 정보
매개변수
| 이름 | 유형 | 위치 | 필수 | 설명 |
|---|---|---|---|---|
| id | string | query | 예 | ID |
코드 예제
curl -X GET "https://api.pressmonitor.com/group-info?id=VALUE" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID" 응답
200 성공
GET
/marketplace-product 마켓플레이스 상품
매개변수
| 이름 | 유형 | 위치 | 필수 | 설명 |
|---|---|---|---|---|
| product_id | string | query | 예 | 상품 ID |
코드 예제
curl -X GET "https://api.pressmonitor.com/marketplace-product?product_id=VALUE" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID" 응답
200 성공
GET
/marketplace-profile 마켓플레이스 프로필
매개변수
| 이름 | 유형 | 위치 | 필수 | 설명 |
|---|---|---|---|---|
| user_id | string | query | 예 | 사용자 ID |
| end_cursor | string | query | 아니요 | 끝 커서 |
코드 예제
curl -X GET "https://api.pressmonitor.com/marketplace-profile?user_id=VALUE" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID" 응답
200 성공
GET
/marketplace-search 마켓플레이스 검색
매개변수
| 이름 | 유형 | 위치 | 필수 | 설명 |
|---|---|---|---|---|
| query | string | query | 예 | 검색 쿼리 |
| end_cursor | string | query | 아니요 | 끝 커서 |
코드 예제
curl -X GET "https://api.pressmonitor.com/marketplace-search?query=VALUE" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID" 응답
200 성공
GET
/page-albums 페이지 앨범
매개변수
| 이름 | 유형 | 위치 | 필수 | 설명 |
|---|---|---|---|---|
| id | string | query | 예 | ID |
| end_cursor | string | query | 아니요 | 끝 커서 |
코드 예제
curl -X GET "https://api.pressmonitor.com/page-albums?id=VALUE" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID" 응답
200 성공
GET
/page-details 페이지 세부정보
매개변수
| 이름 | 유형 | 위치 | 필수 | 설명 |
|---|---|---|---|---|
| id | string | query | 예 | ID |
코드 예제
curl -X GET "https://api.pressmonitor.com/page-details?id=VALUE" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID" 응답
200 성공
GET
/page-feed 페이지 피드
매개변수
| 이름 | 유형 | 위치 | 필수 | 설명 |
|---|---|---|---|---|
| id | string | query | 예 | ID |
| end_cursor | string | query | 아니요 | 끝 커서 |
코드 예제
curl -X GET "https://api.pressmonitor.com/page-feed?id=VALUE" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID" 응답
200 성공
GET
/pages-search 페이지 검색
매개변수
| 이름 | 유형 | 위치 | 필수 | 설명 |
|---|---|---|---|---|
| query | string | query | 예 | 검색 쿼리 |
| end_cursor | string | query | 아니요 | 끝 커서 |
코드 예제
curl -X GET "https://api.pressmonitor.com/pages-search?query=VALUE" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID" 응답
200 성공
GET
/pages-search-post 페이지 검색 게시물
매개변수
| 이름 | 유형 | 위치 | 필수 | 설명 |
|---|---|---|---|---|
| query | string | query | 예 | 검색 쿼리 |
| end_cursor | string | query | 아니요 | 끝 커서 |
코드 예제
curl -X GET "https://api.pressmonitor.com/pages-search-post?query=VALUE" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID" 응답
200 성공
GET
/post-comments 게시물 댓글
매개변수
| 이름 | 유형 | 위치 | 필수 | 설명 |
|---|---|---|---|---|
| post_id | string | query | 예 | 게시물 ID |
| end_cursor | string | query | 아니요 | 끝 커서 |
| order | string | query | 아니요 | 정렬 순서 |
코드 예제
curl -X GET "https://api.pressmonitor.com/post-comments?post_id=VALUE" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID" 응답
200 성공
GET
/post-reactions 게시물 반응
매개변수
| 이름 | 유형 | 위치 | 필수 | 설명 |
|---|---|---|---|---|
| post_id | string | query | 예 | 게시물 ID |
| end_cursor | string | query | 아니요 | 끝 커서 |
코드 예제
curl -X GET "https://api.pressmonitor.com/post-reactions?post_id=VALUE" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID" 응답
200 성공
GET
/post-reactions-count 게시물 반응 수
매개변수
| 이름 | 유형 | 위치 | 필수 | 설명 |
|---|---|---|---|---|
| post_id | string | query | 예 | 게시물 ID |
코드 예제
curl -X GET "https://api.pressmonitor.com/post-reactions-count?post_id=VALUE" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID" 응답
200 성공
GET
/posts-search 게시물 검색
매개변수
| 이름 | 유형 | 위치 | 필수 | 설명 |
|---|---|---|---|---|
| query | string | query | 예 | 검색 쿼리 |
| date_posted | string | query | 아니요 | 게시 날짜 |
| end_cursor | string | query | 아니요 | 끝 커서 |
| end_date | string | query | 아니요 | 종료 날짜 |
| recent_posts | string | query | 아니요 | 최근 게시물 |
| start_date | string | query | 아니요 | 시작 날짜 |
코드 예제
curl -X GET "https://api.pressmonitor.com/posts-search?query=VALUE" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID" 응답
200 성공
GET
/posts-search-post 게시물 검색 게시물
매개변수
| 이름 | 유형 | 위치 | 필수 | 설명 |
|---|---|---|---|---|
| query | string | query | 예 | 검색 쿼리 |
| end_cursor | string | query | 아니요 | 끝 커서 |
코드 예제
curl -X GET "https://api.pressmonitor.com/posts-search-post?query=VALUE" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID" 응답
200 성공
GET
/profile-about 프로필 소개
매개변수
| 이름 | 유형 | 위치 | 필수 | 설명 |
|---|---|---|---|---|
| user_id | string | query | 예 | 사용자 ID |
코드 예제
curl -X GET "https://api.pressmonitor.com/profile-about?user_id=VALUE" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID" 응답
200 성공
GET
/profile-albums 프로필 앨범
매개변수
| 이름 | 유형 | 위치 | 필수 | 설명 |
|---|---|---|---|---|
| user_id | string | query | 예 | 사용자 ID |
| end_cursor | string | query | 아니요 | 끝 커서 |
코드 예제
curl -X GET "https://api.pressmonitor.com/profile-albums?user_id=VALUE" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID" 응답
200 성공
GET
/profile-feed 프로필 피드
매개변수
| 이름 | 유형 | 위치 | 필수 | 설명 |
|---|---|---|---|---|
| user_id | string | query | 예 | 사용자 ID |
| end_cursor | string | query | 아니요 | 끝 커서 |
코드 예제
curl -X GET "https://api.pressmonitor.com/profile-feed?user_id=VALUE" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID" 응답
200 성공
GET
/profile-friends 프로필 친구
매개변수
| 이름 | 유형 | 위치 | 필수 | 설명 |
|---|---|---|---|---|
| user_id | string | query | 예 | 사용자 ID |
| end_cursor | string | query | 아니요 | 끝 커서 |
코드 예제
curl -X GET "https://api.pressmonitor.com/profile-friends?user_id=VALUE" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID" 응답
200 성공
GET
/profile-likes 프로필 좋아요
매개변수
| 이름 | 유형 | 위치 | 필수 | 설명 |
|---|---|---|---|---|
| user_id | string | query | 예 | 사용자 ID |
| end_cursor | string | query | 아니요 | 끝 커서 |
코드 예제
curl -X GET "https://api.pressmonitor.com/profile-likes?user_id=VALUE" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID" 응답
200 성공
GET
/profile-page 프로필 페이지
매개변수
| 이름 | 유형 | 위치 | 필수 | 설명 |
|---|---|---|---|---|
| user_id | string | query | 예 | 사용자 ID |
코드 예제
curl -X GET "https://api.pressmonitor.com/profile-page?user_id=VALUE" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID" 응답
200 성공
GET
/profile-photos 프로필 사진
매개변수
| 이름 | 유형 | 위치 | 필수 | 설명 |
|---|---|---|---|---|
| user_id | string | query | 예 | 사용자 ID |
| end_cursor | string | query | 아니요 | 끝 커서 |
코드 예제
curl -X GET "https://api.pressmonitor.com/profile-photos?user_id=VALUE" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID" 응답
200 성공
GET
/profile-search 프로필 검색
매개변수
| 이름 | 유형 | 위치 | 필수 | 설명 |
|---|---|---|---|---|
| query | string | query | 예 | 검색 쿼리 |
| end_cursor | string | query | 아니요 | 끝 커서 |
코드 예제
curl -X GET "https://api.pressmonitor.com/profile-search?query=VALUE" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID" 응답
200 성공
GET
/profile-search-post 프로필 검색 게시물
매개변수
| 이름 | 유형 | 위치 | 필수 | 설명 |
|---|---|---|---|---|
| query | string | query | 예 | 검색 쿼리 |
| end_cursor | string | query | 아니요 | 끝 커서 |
코드 예제
curl -X GET "https://api.pressmonitor.com/profile-search-post?query=VALUE" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID" 응답
200 성공
GET
/profile-videos 프로필 동영상
매개변수
| 이름 | 유형 | 위치 | 필수 | 설명 |
|---|---|---|---|---|
| user_id | string | query | 예 | 사용자 ID |
| end_cursor | string | query | 아니요 | 끝 커서 |
코드 예제
curl -X GET "https://api.pressmonitor.com/profile-videos?user_id=VALUE" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID" 응답
200 성공
GET
/video-id-url 동영상 ID URL
매개변수
| 이름 | 유형 | 위치 | 필수 | 설명 |
|---|---|---|---|---|
| url | string | query | 예 | URL |
코드 예제
curl -X GET "https://api.pressmonitor.com/video-id-url?url=VALUE" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID" 응답
200 성공