Loading...
POST /api/v1/share
Include your API key in the request header:
X-API-Key: your_api_key_here
Or as query parameter:
?apikey=your_api_key_here
{
"cookie": "your_facebook_cookie_or_appstate",
"url": "https://www.facebook.com/post_url",
"amount": 100,
"interval": 10
}
curl -X POST https://yourapp.replit.app/api/v1/share \
-H "Content-Type: application/json" \
-H "X-API-Key: your_api_key_here" \
-d '{
"cookie": "your_cookie",
"url": "https://www.facebook.com/...",
"amount": 100,
"interval": 10
}'
import requests
api_key = "your_api_key_here"
url = "https://yourapp.replit.app/api/v1/share"
headers = {
"Content-Type": "application/json",
"X-API-Key": api_key
}
data = {
"cookie": "your_facebook_cookie_or_appstate",
"url": "https://www.facebook.com/post_url",
"amount": 100,
"interval": 10
}
response = requests.post(url, json=data, headers=headers)
print(response.json())
const axios = require('axios');
const apiKey = 'your_api_key_here';
const url = 'https://yourapp.replit.app/api/v1/share';
const data = {
cookie: 'your_facebook_cookie_or_appstate',
url: 'https://www.facebook.com/post_url',
amount: 100,
interval: 10
};
axios.post(url, data, {
headers: {
'Content-Type': 'application/json',
'X-API-Key': apiKey
}
})
.then(response => {
console.log(response.data);
})
.catch(error => {
console.error('Error:', error.response?.data || error.message);
});