I am working on reddit api to get comments, upvoted, downvoted etc. When I hit " https://www.reddit.com/user/{username}/comments.json", it is working properly. When I hit " https://www.reddit.com/user/{username}/upvoted.json" it gives me 403 Forbidden. I added access_token also but same error.
How can I get the second url working?
Asked
Active
Viewed 946 times
2

Kishore
- 5,761
- 5
- 28
- 53
-
I'm voting to close this question as off-topic because it is about the access control policies of a web site. – Raedwald Feb 22 '16 at 10:33
1 Answers
3
The user has deselected make my votes public
in his preferences and thus you get this error.
Note:
If you directly get this URL with java you are not logged in, so even if it is your account you won't be able to access it.
You might want to refer to this question for trying to log in.

Community
- 1
- 1

Dawnkeeper
- 2,844
- 1
- 25
- 41