API

Facebook API

Rund 2 Milliarden tägliche Nutzer teilen Beiträge, Fotos, Videos, Gruppen, Veranstaltungen und Marktplatz-Anzeigen auf Facebook, was es wichtig für Community-Reichweite, Kundenservice, lokale Entdeckung und sozialen Handel macht.

API-Referenz Version: 1.0.0 29 Endpunkte Authentifizierung
Facebook

Basis-URL

https://api.pressmonitor.com

Authentifizierung

Alle Anfragen verwenden die Authentifizierung mit Bearer-Token. Fügen Sie den Authorization-Header zu jedem Aufruf hinzu.

Authorization: Bearer YOUR_API_KEY
x-subscription-id: YOUR_SUB_ID
GET /get-post

Beitrag abrufen

Parameter

Name Typ Standort Erforderlich Beschreibung
post_id string query Ja Beitrags-ID

Code-Beispiele

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"

Antworten

200 Erfolg
GET /group-info

Gruppeninformationen

Parameter

Name Typ Standort Erforderlich Beschreibung
id string query Ja ID

Code-Beispiele

curl -X GET "https://api.pressmonitor.com/group-info?id=VALUE" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID"

Antworten

200 Erfolg
GET /marketplace-product

Marktplatzprodukt

Parameter

Name Typ Standort Erforderlich Beschreibung
product_id string query Ja Produkt-ID

Code-Beispiele

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"

Antworten

200 Erfolg
GET /marketplace-profile

Marktplatzprofil

Parameter

Name Typ Standort Erforderlich Beschreibung
user_id string query Ja Benutzer-ID
end_cursor string query Nein End-Cursor

Code-Beispiele

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"

Antworten

200 Erfolg
GET /page-albums

Seitenalben

Parameter

Name Typ Standort Erforderlich Beschreibung
id string query Ja ID
end_cursor string query Nein End-Cursor

Code-Beispiele

curl -X GET "https://api.pressmonitor.com/page-albums?id=VALUE" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID"

Antworten

200 Erfolg
GET /page-details

Seitendetails

Parameter

Name Typ Standort Erforderlich Beschreibung
id string query Ja ID

Code-Beispiele

curl -X GET "https://api.pressmonitor.com/page-details?id=VALUE" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID"

Antworten

200 Erfolg
GET /page-feed

Seiten-Feed

Parameter

Name Typ Standort Erforderlich Beschreibung
id string query Ja ID
end_cursor string query Nein End-Cursor

Code-Beispiele

curl -X GET "https://api.pressmonitor.com/page-feed?id=VALUE" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID"

Antworten

200 Erfolg
GET /pages-search-post

Beiträge der Seitensuche

Parameter

Name Typ Standort Erforderlich Beschreibung
query string query Ja Suchanfrage
end_cursor string query Nein End-Cursor

Code-Beispiele

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"

Antworten

200 Erfolg
GET /post-comments

Beitragskommentare

Parameter

Name Typ Standort Erforderlich Beschreibung
post_id string query Ja Beitrags-ID
end_cursor string query Nein End-Cursor
order string query Nein Reihenfolge

Code-Beispiele

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"

Antworten

200 Erfolg
GET /post-reactions

Reaktionen auf den Beitrag

Parameter

Name Typ Standort Erforderlich Beschreibung
post_id string query Ja Beitrags-ID
end_cursor string query Nein End-Cursor

Code-Beispiele

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"

Antworten

200 Erfolg
GET /post-reactions-count

Anzahl der Reaktionen auf den Beitrag

Parameter

Name Typ Standort Erforderlich Beschreibung
post_id string query Ja Beitrags-ID

Code-Beispiele

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"

Antworten

200 Erfolg
GET /post-shares

Beitragsfreigaben

Parameter

Name Typ Standort Erforderlich Beschreibung
post_id string query Ja Beitrags-ID
end_cursor string query Nein End-Cursor

Code-Beispiele

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"

Antworten

200 Erfolg
GET /posts-search-post

Beiträge der Beitragssuche

Parameter

Name Typ Standort Erforderlich Beschreibung
query string query Ja Suchanfrage
end_cursor string query Nein End-Cursor

Code-Beispiele

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"

Antworten

200 Erfolg
GET /profile-about

Profilbeschreibung

Parameter

Name Typ Standort Erforderlich Beschreibung
user_id string query Ja Benutzer-ID

Code-Beispiele

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"

Antworten

200 Erfolg
GET /profile-albums

Profilalben

Parameter

Name Typ Standort Erforderlich Beschreibung
user_id string query Ja Benutzer-ID
end_cursor string query Nein End-Cursor

Code-Beispiele

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"

Antworten

200 Erfolg
GET /profile-feed

Profil-Feed

Parameter

Name Typ Standort Erforderlich Beschreibung
user_id string query Ja Benutzer-ID
end_cursor string query Nein End-Cursor

Code-Beispiele

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"

Antworten

200 Erfolg
GET /profile-friends

Profilfreunde

Parameter

Name Typ Standort Erforderlich Beschreibung
user_id string query Ja Benutzer-ID
end_cursor string query Nein End-Cursor

Code-Beispiele

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"

Antworten

200 Erfolg
GET /profile-likes

Profil-Likes

Parameter

Name Typ Standort Erforderlich Beschreibung
user_id string query Ja Benutzer-ID
end_cursor string query Nein End-Cursor

Code-Beispiele

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"

Antworten

200 Erfolg
GET /profile-page

Profilseite

Parameter

Name Typ Standort Erforderlich Beschreibung
user_id string query Ja Benutzer-ID

Code-Beispiele

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"

Antworten

200 Erfolg
GET /profile-photos

Profilfotos

Parameter

Name Typ Standort Erforderlich Beschreibung
user_id string query Ja Benutzer-ID
end_cursor string query Nein End-Cursor

Code-Beispiele

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"

Antworten

200 Erfolg
GET /profile-search-post

Beiträge der Profilsuche

Parameter

Name Typ Standort Erforderlich Beschreibung
query string query Ja Suchanfrage
end_cursor string query Nein End-Cursor

Code-Beispiele

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"

Antworten

200 Erfolg
GET /profile-videos

Profilvideos

Parameter

Name Typ Standort Erforderlich Beschreibung
user_id string query Ja Benutzer-ID
end_cursor string query Nein End-Cursor

Code-Beispiele

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"

Antworten

200 Erfolg
GET /share-post-url

Beitrags-URL teilen

Parameter

Name Typ Standort Erforderlich Beschreibung
url string query Ja URL

Code-Beispiele

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"

Antworten

200 Erfolg
GET /video-id-url

Video-ID-URL

Parameter

Name Typ Standort Erforderlich Beschreibung
url string query Ja URL

Code-Beispiele

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"

Antworten

200 Erfolg