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
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
/events-search Veranstaltungen durchsuchen
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/events-search?query=VALUE" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID" Antworten
200 Erfolg
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
/marketplace-search Marktplatzsuche
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/marketplace-search?query=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 Seiten durchsuchen
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?query=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
/posts-search Beiträge durchsuchen
Parameter
| Name | Typ | Standort | Erforderlich | Beschreibung |
|---|---|---|---|---|
| query | string | query | Ja | Suchanfrage |
| date_posted | string | query | Nein | Veröffentlichungsdatum |
| end_cursor | string | query | Nein | End-Cursor |
| end_date | string | query | Nein | Enddatum |
| recent_posts | string | query | Nein | Neueste Beiträge |
| start_date | string | query | Nein | Startdatum |
Code-Beispiele
curl -X GET "https://api.pressmonitor.com/posts-search?query=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 Profil suchen
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?query=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
/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