Reddit 예시
Reddit에 액세스하기 위해 OAuth 2로 인증하는 방법을 보여줍니다.
Reddit 예제에서는 Qt Network 인증에서 지원하는 OAuth 2를 사용하여 Reddit에 로그인하고 인증된 사용자와 연결된 Reddit 게시물(텍스트 형식)을 표시합니다.
이 예제를 사용하려면 Reddit의 소비자 키가 필요합니다. 애플리케이션을 등록하려면 https://www.reddit.com/prefs/apps/ 을 방문하세요.
참고: 애플리케이션을 만들 때 설치된 앱을 선택합니다.
참고: Reddit 설정에서 리디렉션 URI를 http://localhost:1337/ 로 설정합니다.
예제 실행하기
에서 예제를 실행하려면 Qt Creator에서 Welcome 모드를 열고 Examples 에서 예제를 선택합니다. 자세한 내용은 예제 빌드 및 실행하기를 참조하세요.
© 2025 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.