reddit support on gwibber

Reported by ergo on 2010-02-04
166
This bug affects 36 people
Affects Status Importance Assigned to Milestone
Gwibber
Wishlist
Unassigned

Bug Description

Reddit is a similiar site to digg, but with diffrent target base.

Is it possible to have the api implemented in gwibber?

http://code.reddit.com/wiki/API

Brewster Malevich (brews) wrote :

This would be awesome if we could get it to work.

Alin Andrei (nilarimogard) wrote :

+1

Would love to see this implemented in Gwibber

If you are a programmer you are always welcome to implement this. :)

Ryan Paul (segphault) wrote :

I'd really like to support Reddit in Gwibber, but the API doesn't seem to expose all of the necessary functionality. I want to be able to display friend comments and the items that the user's friends have upvoted. Afaict from looking at friends.reddit.com, I can only see the items that my friends have submitted. Is there a page on Reddit where you can see what your friends are upvoting?

There are other features that I can support (such as displaying the contents of the user's inbox) but without the ability to see what your friends are doing, Reddit is just not a good fit for Gwibber.

Changed in gwibber:
importance: Undecided → Wishlist

Regarding this:
Is there a page on Reddit where you can see what your friends are upvoting?

There is, if the user has enabled this feature in their settings, the page would be accessed like this

http://www.reddit.com/user/[the user name]/liked/

In fact, just look at the tabs on the user's page, it has:

    * comments
http://www.reddit.com/user/[the user name]/comments/

    * submitted
http://www.reddit.com/user/[the user name]/submitted/

    * liked
http://www.reddit.com/user/[the user name]/liked/

    * disliked
http://www.reddit.com/user/[the user name]/disliked/

    * hidden
http://www.reddit.com/user/[the user name]/hidden/

Joe Terranova (joeterranova) wrote :

@Charles,

That's true, but that really doesn't work for Gwibber. The /r/friends is one request, which is along the lines of what he'd need to do it. 1 (to get friend submissions) + friends * 2 (to get comments and liked) isn't really a solution.

Also, I'd honestly rather not have liked in my feed. I don't have an obsession with what my friends like or dislike. I'd want just submissions and comments. That would still be friends + 1 requests, though.

Joe Terranova (joeterranova) wrote :

Added feature request here:
http://www.reddit.com/r/redditdev/comments/bjb09/is_there_a_page_to_see_all_friend_submissions/
Patches submitted here:
http://www.reddit.com/r/redditdev/comments/bjb09/is_there_a_page_to_see_all_friend_submissions/c0n392d

Currently you can get an rss feed of all friend submissions by going here:
http://www.reddit.com/r/friends.xml
After the patch is live, you'll be able to get all friend comments by going here:
http://www.reddit.com/r/friends/comments.xml

This doesn't take like and dislike into account. I personally don't care about this, I think it would crowd the feed, and most people aren't going to allow you to see their likes and dislikes anyway. But I suppose a similar patch could be added (by someone else) to add a /r/friends/liked.xml

Ryan Paul (segphault) wrote :

Thanks for getting the necessary features added to Reddit! I'll add it to the Gwibber roadmap.

Changed in gwibber:
milestone: none → 3.0
status: New → Confirmed
Ryan Paul (segphault) wrote :

I've started working on this, but it's not going as well as I had hoped. Reddit doesn't provide an API-friendly authentication mechanism.

We will have to send a POST request to /api/login and then pull out the session cookie, which lasts for two days[1]. We'd have to cache that value and update it every time it stops working. This adds a lot of complexity and a little bit of extra communication overhead.

I'm not sure if I'm totally comfortable making Reddit available in Gwibber out of the box as long as it works like this. What I'm planning to do now is get support for Reddit landed in trunk so that the daily build users can test it and see how well it works in practice. If it creates problems, then it just won't be included in official releases and users who really want it can run the nightly builds or something.

If some of you Reddit hackers want to add support for HTTP Basic auth or a desktop-friendly[2] OAuth 2.0 implementation to Reddit itself, that would be hugely beneficial.

[1] http://www.reddit.com/r/redditdev/comments/anq3l/authenticating_to_reddit_api/c0iikar
[2] By desktop-friendly OAuth, I mean that it MUST NOT require a consumer secret key. For an example of how that might work, look at the desktop auth flow for Facebook's new Graph API

Changed in gwibber:
status: Confirmed → In Progress
guerda (derguerda) wrote :

Hi Ryan!

Are there any status updates on this issue?
I installed the daily ppa and I don't see any reddit option in my accounts.
Has the reddit-gwibber died?

Greetings, Philip

Paul Tagliamonte  (paultag) wrote :

Yeah, I'd like to see this happen. Let's see if we can get this bug to completion :)

Paul Mathai (paulrmathai) wrote :

It'd be nice to see this implemented. Anyone try yet? If not, maybe my first contribution to the open source community.

jephrei (jephrei-carlos) wrote :

multiply these comments by 1000 and that's how many folks actually want this to happen. i'm no genius...but if i was i'd spend a day makin this happen. here our call geniuses...make this happen. we thank you.

guerda (derguerda) wrote :

> but if i was i'd spend a day makin this happen.
Have you read the comments? It depends on both sides and the reddit API sucks at authentication yet. So you have to improve the reddit API and implement it in Gwibber.
You don't need to be genius, but you have to do it in the reddit code.

David A Páez (orlsend) wrote :

Specially since alot more Linux users use reddit then digg.

Changed in gwibber:
milestone: 3.0 → 3.2.0
status: In Progress → Triaged
Changed in gwibber:
milestone: 3.2.0 → 3.2
Bilal Shahid (s9iper1) wrote :

Plugins can now be created out of tree, so this is a good candidate for creating a plugin. You can look at lp:gwibber-service-sina as an example, unfortunately we don't have plugin developer documentation yet. However, if you are interested in developing a plugin (shouldn't be too difficult), join us in #gwibber on FreeNode and we can try to guide you through it

Changed in gwibber:
status: Triaged → Incomplete
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers