Class InstagramService

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

@Service public class InstagramService extends Object
  • Field Details

    • instagramConfig

      private final InstagramConfig instagramConfig
    • restTemplate

      private final org.springframework.web.client.RestTemplate restTemplate
    • INSTAGRAM_API_BASE_URL

      private static final String INSTAGRAM_API_BASE_URL
      See Also:
  • Constructor Details

    • InstagramService

      public InstagramService()
  • Method Details

    • sendMessage

      public void sendMessage(String recipientId, String message)
      Send message to Instagram user
    • processWebhookEvent

      public void processWebhookEvent(InstagramWebhookEvent event)
      Process incoming webhook event from Instagram
    • verifyWebhook

      public boolean verifyWebhook(String mode, String verifyToken, String challenge)
      Verify webhook token