@KyleW could you please help me
i’m stuck with following error on registering webhook url with POSTMAN
{
“errors”: [
{
“code”: 214,
“message”: “Non-200 response code during CRC GET request (i.e. 404, 500, etc).”
}
]
}
my application webhook method is not receiving the call from twitter.[i have created both GET and POST methods]
application is deployed on AWS box and its working fine with facebook webhooks integration
webhooks url:
https://XXXXXXXXXXX:10352/api/social/socialfeed/twitter/onmessage?user=dummyUser&organization=dummyOrg
Code:
@RequestMapping(value = “/onmessage”, method = RequestMethod.GET)
public @ResponseBody
String twitterChallengeResponseCheck(@ApiParam(value = “user”, required = true) @RequestParam(“user”) String user,
@ApiParam(value = “organization”, required = true) @RequestParam(“organization”) String organization,
@ApiParam(value = “verifyToken”, required = true) @RequestParam(“crc_token”) String verifyToken)
{…}
@RequestMapping(value = “/onmessage”, consumes = { MediaType.APPLICATION_JSON_VALUE }, method = RequestMethod.POST)
public void receiveTwitterActivities(@ApiParam(value = "user", required = true) @RequestParam("user") String user,
@ApiParam(value = "organization", required = true) @RequestParam("organization") String organization,
@ApiParam(name = "twitter webhook real time update data", required = true) @Valid @RequestBody String twitterPayload,
@ApiParam(name = "twitter security signature", required = true) @RequestHeader(value = "x-twitter-webhooks-signature") String securitySignature)
throws Exception
{ ......}
if you any additional information to validate, i can provide.