Package com.bytedesk.social.instagram
Class InstagramService
java.lang.Object
com.bytedesk.social.instagram.InstagramService
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final String
private final InstagramConfig
private final org.springframework.web.client.RestTemplate
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Process incoming webhook event from Instagramvoid
sendMessage
(String recipientId, String message) Send message to Instagram userboolean
verifyWebhook
(String mode, String verifyToken, String challenge) Verify webhook token
-
Field Details
-
instagramConfig
-
restTemplate
private final org.springframework.web.client.RestTemplate restTemplate -
INSTAGRAM_API_BASE_URL
- See Also:
-
-
Constructor Details
-
InstagramService
public InstagramService()
-
-
Method Details
-
sendMessage
Send message to Instagram user -
processWebhookEvent
Process incoming webhook event from Instagram -
verifyWebhook
Verify webhook token
-