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 /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 /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-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 /post-shares

게시물 공유

매개변수

이름 유형 위치 필수 설명
post_id string query 게시물 ID
end_cursor string query 아니요 끝 커서

코드 예제

curl -X GET "https://api.pressmonitor.com/post-shares?post_id=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-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 /share-post-url

게시물 URL 공유

매개변수

이름 유형 위치 필수 설명
url string query URL

코드 예제

curl -X GET "https://api.pressmonitor.com/share-post-url?url=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 성공