기상청 지역별 날씨정보 API

Open API/그 외 |2022. 1. 27. 13:51
반응형

https://www.kma.go.kr/wid/queryDFS.jsp?gridx=60&gridy=127

gridx , gridy 는 leaf 에서 확인.

 



http://www.kma.go.kr/DFSROOT/POINT/DATA/top.json.txt

[
{"code":"11","value":"서울특별시"},
{"code":"26","value":"부산광역시"}
...
...
]


http://www.kma.go.kr/DFSROOT/POINT/DATA/mdl.11.json.txt  // 11 : 서울특별시
[
{"code":"11110","value":"종로구"},
{"code":"11140","value":"중구"}
...
...
]


http://www.kma.go.kr/DFSROOT/POINT/DATA/leaf.11110.json.txt // 11110 : 종로구
[
{"code":"1111051000","value":"청운동","x":"60","y":"127"},
{"code":"1111052000","value":"효자동","x":"60","y":"127"}
...
...
...
]

 

timeseries_XML.pdf
0.11MB

댓글()

Facebook 연동 오류 , Invalid Scope: Array (Please check lower letter case or delimiter)

에러노트|2020. 11. 16. 23:02
반응형

오류 메시지 : Invalid Scope: Array (Please check lower letter case or delimiter)

 

해결 방법 :  Scope에 대한 정의가 바뀐 것 같음.

 

"scope"   => ['public_profile', 'email'] 

 

배열로 되어있던 기존 상태에서 

 

콤마 혹은 공백으로 구분하여 아래와 같이 수정.

 

"scope"   => 'public_profile,email'

 

 

 

참고 자료 

 

stackoverflow.com/questions/63620672/hybridauth-facebook-invalid-scope-array-please-check-lower-letter-case-or-deli

 

HybridAuth Facebook Invalid Scope: Array (Please check lower letter case or delimiter)

Facebook started returning this error a few days ago: "Invalid Scope: Array (Please check lower letter case or delimiter)" I haven't made a changes to the login functionality, or facebook...

stackoverflow.com

 

sir.kr/g5_tip/14440

 

페이스북 소셜로그인 에러가 발생될 때 > SIR

페이스북 소셜로그인에서 아래와 같은 에러가 발생될 때 극복 방법입니다.

Invalid Scope: Array (Please check lower letter case or delimiter)

 

plugin/social/includes/functions.php 파일 325줄

sir.kr

 

댓글()

중국에서 Google map 실행이 안되는 경우 해결 방법

Open API/Google|2018. 10. 23. 14:42
반응형

중국내에서 Google map 실행이 안되는 경우 해결 방법


원인은 https 접속이 안되기 때문이고 

이 문제는 Google map FAQ에서 해결 방법을 제시해주고 있습니다.



아래 내용은 Google Map FAQ의 일부 발췌한 내용입니다.


Google Maps Platform products are served within China from the domain maps.google.cn. This domain does not support https. When making requests to Google Maps Platform products from China, please replace https://maps.googleapis.com with http://maps.google.cn.



중국에서 https://maps.googleapis.com 접속이 정상적으로 이뤄지지 않기 때문에


http 통신을 해야하고 중국내에서 이용할 수있는 도메인은 http://maps.google.cn 


아래와 같이 Google Map API javascript 파일 참조시에 도메인을 변경해줍니다.



<script src="http://maps.google.cn/maps/api/js?key=YOUR_API_KEY"
type="text/javascript">
</script>



내용이 변경될 수 있기 때문에 Google Map FAQ 링크를 함께 남깁니다.


https://developers.google.com/maps/faq#china_ws_access

댓글()