From 4a764b82957abf3fae78dac14005ddd9caca04eb Mon Sep 17 00:00:00 2001 From: pjs Date: Mon, 19 Jan 2026 18:57:38 +0900 Subject: [PATCH] =?UTF-8?q?=EC=9D=B8=EC=8A=A4=ED=83=80=EA=B7=B8=EB=9E=A8?= =?UTF-8?q?=20=ED=82=A4=20=EB=B0=8F=20url=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../service/web/webinstagram/impl/WebInstagramServiceImpl.java | 2 +- src/main/resources/application.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/madeuhome/service/web/webinstagram/impl/WebInstagramServiceImpl.java b/src/main/java/com/madeuhome/service/web/webinstagram/impl/WebInstagramServiceImpl.java index 79f4d85..549a254 100644 --- a/src/main/java/com/madeuhome/service/web/webinstagram/impl/WebInstagramServiceImpl.java +++ b/src/main/java/com/madeuhome/service/web/webinstagram/impl/WebInstagramServiceImpl.java @@ -36,7 +36,7 @@ public class WebInstagramServiceImpl implements WebInstagramService { HashMap paramMap) throws Exception { log.debug("WebInstagramServiceImpl selectListWebInstagram START"); HashMap map = new HashMap(); - String apiUrl = "https://graph.instagram.com/" + clientId + "/media?fields=id,caption,media_url,permalink,media_type,thumbnail_url&access_token=" + accessToken; + String apiUrl = "https://graph.facebook.com/" + clientId + "/media?fields=id,caption,media_url,permalink,media_type,thumbnail_url&access_token=" + accessToken; try{ RestTemplate restTemplate = new RestTemplate(); Map response = restTemplate.getForObject(apiUrl, Map.class); diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index 0acfcf9..3ae1b61 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -50,4 +50,4 @@ senderPhoneNumber: 025474711 # Instagram 설정 instagram: client-id: 17841400162629727 - accesstoken: IGAAMzYDUuoLJBZAFRLMUV4V3ZA5RTdIQzNvUmdYQXd6RGpMaGgxbTFQWUJlcmpKZAGlFM29CX20tOE9iSGg4Y1hwdVVHcUVXeS1RQ3dMWVluOEdTdTY4UUh2aFVVR0tGTGhGLVMwWDdkakFtbWJtbnFhQkprMmQxcGsxQjJGZA3pUTQZDZD + accesstoken: EAAbtjekAF1EBQaZAZAmZCW8TyAA176J5yD6tFSj4MaZACgROAxGsvvT0cSvPxqLOHR4Bd8EeHSvWAqHZB8nHxurf3s3z0vtXt8sQ4zZBHpEJcnNTWSOvfch7hXv4uOQcfliBZCL6dDhMukAtgmXRHlfJasKDc5cZBcI7AuqNr1BZB0jUAwPC8uMUiIQ8dFjpRbnVyRwZDZD