Hi,
I’m testing my first app on the new activity api. So far I successfully registered a webhook and set up a subscription but the incoming events on my webhook url are empty.
Result of GET https://api.twitter.com/1.1/account_activity/all/my_env/webhooks.json
[
{
"id": "1001542683893133318",
"url": "https://mywebhookurl.com/index.php",
"valid": true,
"created_timestamp": "2018-05-29 19:16:00 +0000"
}
]
Result of GET https://api.twitter.com/1.1/account_activity/all/my_env/subscriptions/list.json
{
"environment": "my_env",
"application_id": "15281019",
"subscriptions": [
{
"user_id": "a_user_id"
}
]
}
Results of incoming events on https://mywebhookurl.com/index.php (sending print_r($_REQUEST, true) via mail)
Array()
When sending a POST request via Postman to my webhook url all payload is received which shows that my server is able to receive and process POST parameters.
Currently the subscribed user is the owner of the app (if this matters).
Am I missing something?
I already deleted the webhook and re-registered it and re-added the subscription but same result.
After 4 days of reading, testing and what not I desperately asking for some help.
Thanks in advance!