We have checked the whole process using TwitterOAuth package. It seems that we are not getting CRC code (see Step 4 response below).
Note:- We are writing the CRC code in a file. We noticed that there is a code in this file but it got created when we were not at all testing the App. Also please note that the error is now changed as it is saying “Webhook URL does not meet the requirements. Please use HTTPS”.
Step 1 - TwitterOAuth using CONSUMER_KEY, CONSUMER_SECRET, OAUTH_CALLBACK
Response:- Array ( [oauth_token] => xxxxxxx_o [oauth_token_secret] => xxxxz [oauth_callback_confirmed] => true )
Step 2 - Twitter Authorization - https://api.twitter.com/oauth/authorize?oauth_token=Xxxxx_o
Response:- Callback URL - https://www.social-sync.com/social-apis/twitter/callback.php?oauth_token=Xxxxx&oauth_verifier=xxxxx
Step 3 - Creating Access Token using CONSUMER_KEY, CONSUMER_SECRET, [oauth_token] => xxxxz_o, [oauth_token_secret] => xxxxxx
Response:- Array ( [oauth_token] => xxxx [oauth_token_secret] => xxxzz [user_id] => 922863464288346114 [screen_name] => SocialSyncTech ) [status] => verified )
Step 4 - Register Webhook by posting below encoded webhook URL to “account_activity/all/SocialSync/webhooks” endpoint
Webhook URL :- https%3A%2F%2Fwww.social-sync.com%2Fsocial-apis%2Ftwitter%2Fwebhook%2F
Response:- ( [errors] => Array (  => stdClass Object ( [code] => 214 [message] => Webhook URL does not meet the requirements. Please use HTTPS. ) ) )
Please have a look on CURL communication in below screenshot (I cannot put this as there more than 5 links in this message) and let me know if you have any questions.
Your prompt response will be highly appreciated.