PipedreamHQ / pipedream

Connect APIs, remarkably fast. Free for developers.
https://pipedream.com
Other
8.79k stars 5.27k forks source link

The Reddit List_comments_in_a_post should have a query(ies) for comments that match keywords like Zapier does[FEATURE] #6624

Open Telnyx-Assist opened 1 year ago

Telnyx-Assist commented 1 year ago

Is your feature request related to a problem? Please describe. I am making a reddit+gpt bot. Being able to control the bot so it only responds to specific comments when it is supposed to is critical so that it is useful and not annoying. I need the reddit comments to match a keyword search while Pipedream currently only has a reddit post that matches a keyword search option.

Describe the solution you'd like Zapier has a comments that match a search option for Reddit. Multiple keywords would be ideal. It would be best if you can set it for certain subreddits. image

Do you have a workaround? In the current form I will have to cancel my pipedream subscription and go back to zapier for this feature. I need to be able to filter comments by keyword search within a subreddit.

Comparable features in other tools? Zapier has this feature.

Additional context Happy to talk about this if needed at +13039448243, Klane Pedrie. Please leave a voicemail with name and return phone number if I don't pick up. You can also contact me at klane@telnyx.com.

Telnyx-Assist commented 1 year ago

Also need to be able to make a setting to not comment on my own reddit comments

alysonturing commented 1 year ago

@Telnyx-Assist by my investigation Reddit has a search api but it returns only posts, it doesn't has any parameters allowing to search for comments. Reddit implemented this feature on their UI but it's not available through API yet: https://www.reddit.com/r/redditdev/comments/w513k5/subreddit_search_by_comment_api/ https://www.reddit.com/r/reddit/comments/u3oz2x/comment/i4uzfcs/?utm_source=share&utm_medium=web2x&context=3 There were an unofficial reddit API, but recently stopped working: https://www.reddit.com/r/pushshift/comments/13ua5wg/not_authenticated_error/

I can implement a source that emit events when posts are find by the search engine.

Telnyx-Assist commented 1 year ago

Hi @alysonturing Alyson! Zapier has a keyword search for reddit comments so I know it can be done via api, it also ran for me today so I know it is still working.

Screenshot 2023-06-01 at 10 15 35 AM
alysonturing commented 1 year ago

I'll investigate it further @Telnyx-Assist

alysonturing commented 1 year ago

@Telnyx-Assist I found out that we have this feature already implemented here for comments and here for posts

please check if this works for you..

Telnyx-Assist commented 1 year ago

Checking today

Telnyx-Assist commented 1 year ago
Screenshot 2023-06-05 at 10 46 16 AM
malexanderlim commented 1 year ago

Hi @alysonturing , it looks like Reddit revoked Pushshift access to their Data API.

Can we resume building this functionality for the primary Reddit app's components?

Please let me know if any additional detail would be helpful here.

alysonturing commented 1 year ago

@malexanderlim By Reddit's docs there's no way of searching comments using the api. and since PushShift is deprecated I couldn't find a way to fulfill this task.