Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Retrieving Comments using name #80

Open
Brotakuu opened this issue Mar 18, 2018 · 1 comment
Open

Retrieving Comments using name #80

Brotakuu opened this issue Mar 18, 2018 · 1 comment

Comments

@Brotakuu
Copy link

Brotakuu commented Mar 18, 2018

If i have the name of a listing such as t3_85ahch in askreddit, how can i retrieve all comments for that listing?

Tried something like this, but not working.

session.subreddit('awardtravel').submission(from_id: "t3_85ahch").comments
NoMethodError: undefined method `from_id' for #<Redd::Models::Listing:0x0>
@anirbanmu
Copy link

try something like this session.from_ids(["t3_85ahch"]). does it work?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants