From fbe06f35dde490ef0f434b35f46d521153a9aed0 Mon Sep 17 00:00:00 2001 From: pjs Date: Mon, 19 Jan 2026 18:56:58 +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 434b475..40400f0 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -50,4 +50,4 @@ senderPhoneNumber: 025474711 # Instagram 설정 instagram: client-id: 17841468400622116 - accesstoken: IGAAMzYDUuoLJBZAFNCckI5TlJrd1Y4NE9VYjFSbXJPSWhwZA28tWmhlanN3ZAlpPSGg2MUxIdGFsYnR3dWw5MUhDeGNZAZAE84ZAHFGdGREb0VORUNsWFB4RWZAEWGxfUnJNNXVLVlhUcHhHNm0xQUxyV0FTX0JDQVZAYTTBzU3RGQ3NpawZDZD \ No newline at end of file + accesstoken: EAAbtjekAF1EBQaZAZAmZCW8TyAA176J5yD6tFSj4MaZACgROAxGsvvT0cSvPxqLOHR4Bd8EeHSvWAqHZB8nHxurf3s3z0vtXt8sQ4zZBHpEJcnNTWSOvfch7hXv4uOQcfliBZCL6dDhMukAtgmXRHlfJasKDc5cZBcI7AuqNr1BZB0jUAwPC8uMUiIQ8dFjpRbnVyRwZDZD \ No newline at end of file