API
Facebook API
Circa 2 miliardi di utenti quotidiani condividono post, foto, video, gruppi, eventi e annunci Marketplace su Facebook, rendendolo importante per il raggiungimento della comunità, il servizio clienti, la scoperta locale e il commercio sociale.
API Reference Version: 1.0.0 29 Endpoints Authentication
Base URL
https://api.pressmonitor.com Authentication
All requests use Bearer token authentication.
Authorization: Bearer YOUR_API_KEY
x-subscription-id: YOUR_SUB_ID GET
/events-search Cerca eventi
Parameters
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| query | string | query | Yes | Query di ricerca |
| end_cursor | string | query | No | Cursore finale |
Code Examples
curl -X GET "https://api.pressmonitor.com/events-search?query=VALUE" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID" Responses
200 Successo
GET
/get-post Ottieni Post
Parameters
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| post_id | string | query | Yes | ID Post |
Code Examples
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" Responses
200 Successo
GET
/group-info Informazioni sul gruppo
Parameters
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| id | string | query | Yes | ID |
Code Examples
curl -X GET "https://api.pressmonitor.com/group-info?id=VALUE" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID" Responses
200 Successo
GET
/marketplace-product Prodotto marketplace
Parameters
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| product_id | string | query | Yes | ID Prodotto |
Code Examples
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" Responses
200 Successo
GET
/marketplace-profile Profilo marketplace
Parameters
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| user_id | string | query | Yes | ID utente |
| end_cursor | string | query | No | Cursore finale |
Code Examples
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" Responses
200 Successo
GET
/marketplace-search Ricerca marketplace
Parameters
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| query | string | query | Yes | Query di ricerca |
| end_cursor | string | query | No | Cursore finale |
Code Examples
curl -X GET "https://api.pressmonitor.com/marketplace-search?query=VALUE" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID" Responses
200 Successo
GET
/page-albums Album della pagina
Parameters
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| id | string | query | Yes | ID |
| end_cursor | string | query | No | Cursore finale |
Code Examples
curl -X GET "https://api.pressmonitor.com/page-albums?id=VALUE" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID" Responses
200 Successo
GET
/page-details Dettagli pagina
Parameters
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| id | string | query | Yes | ID |
Code Examples
curl -X GET "https://api.pressmonitor.com/page-details?id=VALUE" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID" Responses
200 Successo
GET
/page-feed Feed della pagina
Parameters
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| id | string | query | Yes | ID |
| end_cursor | string | query | No | Cursore finale |
Code Examples
curl -X GET "https://api.pressmonitor.com/page-feed?id=VALUE" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID" Responses
200 Successo
GET
/pages-search Cerca pagine
Parameters
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| query | string | query | Yes | Query di ricerca |
| end_cursor | string | query | No | Cursore finale |
Code Examples
curl -X GET "https://api.pressmonitor.com/pages-search?query=VALUE" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID" Responses
200 Successo
GET
/pages-search-post Ricerca post nelle pagine
Parameters
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| query | string | query | Yes | Query di ricerca |
| end_cursor | string | query | No | Cursore finale |
Code Examples
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" Responses
200 Successo
GET
/post-comments Commenti al post
Parameters
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| post_id | string | query | Yes | ID Post |
| end_cursor | string | query | No | Cursore finale |
| order | string | query | No | Ordine |
Code Examples
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" Responses
200 Successo
GET
/post-reactions Reazioni al post
Parameters
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| post_id | string | query | Yes | ID Post |
| end_cursor | string | query | No | Cursore finale |
Code Examples
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" Responses
200 Successo
GET
/post-reactions-count Conteggio reazioni al post
Parameters
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| post_id | string | query | Yes | ID Post |
Code Examples
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" Responses
200 Successo
GET
/posts-search Cerca post
Parameters
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| query | string | query | Yes | Query di ricerca |
| date_posted | string | query | No | Data di pubblicazione |
| end_cursor | string | query | No | Cursore finale |
| end_date | string | query | No | Data di fine |
| recent_posts | string | query | No | Post recenti |
| start_date | string | query | No | Data di inizio |
Code Examples
curl -X GET "https://api.pressmonitor.com/posts-search?query=VALUE" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID" Responses
200 Successo
GET
/posts-search-post Ricerca post
Parameters
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| query | string | query | Yes | Query di ricerca |
| end_cursor | string | query | No | Cursore finale |
Code Examples
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" Responses
200 Successo
GET
/profile-about Informazioni sul profilo
Parameters
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| user_id | string | query | Yes | ID utente |
Code Examples
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" Responses
200 Successo
GET
/profile-albums Album del profilo
Parameters
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| user_id | string | query | Yes | ID utente |
| end_cursor | string | query | No | Cursore finale |
Code Examples
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" Responses
200 Successo
GET
/profile-feed Feed del profilo
Parameters
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| user_id | string | query | Yes | ID utente |
| end_cursor | string | query | No | Cursore finale |
Code Examples
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" Responses
200 Successo
GET
/profile-friends Amici del profilo
Parameters
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| user_id | string | query | Yes | ID utente |
| end_cursor | string | query | No | Cursore finale |
Code Examples
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" Responses
200 Successo
GET
/profile-likes Mi piace del profilo
Parameters
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| user_id | string | query | Yes | ID utente |
| end_cursor | string | query | No | Cursore finale |
Code Examples
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" Responses
200 Successo
GET
/profile-page Pagina del profilo
Parameters
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| user_id | string | query | Yes | ID utente |
Code Examples
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" Responses
200 Successo
GET
/profile-photos Foto del profilo
Parameters
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| user_id | string | query | Yes | ID utente |
| end_cursor | string | query | No | Cursore finale |
Code Examples
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" Responses
200 Successo
GET
/profile-search Cerca profili
Parameters
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| query | string | query | Yes | Query di ricerca |
| end_cursor | string | query | No | Cursore finale |
Code Examples
curl -X GET "https://api.pressmonitor.com/profile-search?query=VALUE" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID" Responses
200 Successo
GET
/profile-search-post Ricerca post del profilo
Parameters
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| query | string | query | Yes | Query di ricerca |
| end_cursor | string | query | No | Cursore finale |
Code Examples
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" Responses
200 Successo
GET
/profile-videos Video del profilo
Parameters
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| user_id | string | query | Yes | ID utente |
| end_cursor | string | query | No | Cursore finale |
Code Examples
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" Responses
200 Successo
GET
/video-id-url URL ID video
Parameters
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| url | string | query | Yes | URL |
Code Examples
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" Responses
200 Successo