Asegurando webhook


#1

Hello, I am new to using the twitter api, I have been trying to register my webhook with the following url https://twitter01.ipdialbox.com/webhook/twitter.php,
being the documentation content = connection-> post (“account_activity / all / Activity2 / webhooks”, [“url” => $ url]), but I still have the same error.
stdClass Object
(
[errors] => Array
(
[0] => stdClass Object
(
[code] => 214
[message] => Webhook URL does not meet the requirements. Please, check your SSL Configuration.
)

     )

)

Someone could help me with an example or tell me what I’m failing.


#2

Hi,

Thanks for reaching out here. Could you provide us with the endpoint you are using here? In the meantime, you might want to check out this page


#3

Hi, I’ve tried this example.
https://sadaimudinaadhar.github.io/php-twitter-webhook-account-activity-api/

here is the callback with endpoint


#4

Hi
This is my endpoint
/* Get user access tokens out of the session. */
access_token = _SESSION[‘access_token’];

$connection = new TwitterOAuth(CONSUMER_KEY, CONSUMER_SECRET, $access_token[‘oauth_token’], $access_token[‘oauth_token_secret’]);

$url = “https://twitter01.ipdialbox.com/webhook/twitter.php”; //

$content = $connection->post(“account_activity/all/Actividad2/webhooks”, [“url” => $url]);