Class InstagramWebhookController

java.lang.Object
com.bytedesk.social.instagram.InstagramWebhookController

@RestController @RequestMapping("/webhook/instagram") public class InstagramWebhookController extends Object
  • Field Details

  • Constructor Details

    • InstagramWebhookController

      public InstagramWebhookController()
  • Method Details

    • verifyWebhook

      @GetMapping public org.springframework.http.ResponseEntity<String> verifyWebhook(@RequestParam("hub.mode") String mode, @RequestParam("hub.verify_token") String verifyToken, @RequestParam("hub.challenge") String challenge)
    • handleWebhook

      @PostMapping public org.springframework.http.ResponseEntity<String> handleWebhook(@RequestBody InstagramWebhookEvent event)