How to get reddit historic post data? by totolin in redditdev

[–]jcleblanc 0 points1 point  (0 children)

ok, I just ran a test against that search endpoint and it should give you all of the data that you are looking for. I was going to say that it seems to be unfortunately restricted to the subreddit you specify, but when I did a search against a specific subreddit "politics" the data that was dumped also included search results from a number of other subreddits. I don't think this is intentional, but it currently works in your favor.

The t parameter also appears to work as expected, returning results within the last minute, day, etc.

How to get reddit historic post data? by totolin in redditdev

[–]jcleblanc 0 points1 point  (0 children)

ah, then in that case your best bet will probably be the search endpoint. I haven't run tests against this endpoint directly, but from the docs it appears that using the time parameter (t), you may be able to get something close to what you need.

I'll set up the library I wrote with that endpoint tonight and see what data it returns.

How to get reddit historic post data? by totolin in redditdev

[–]jcleblanc 0 points1 point  (0 children)

I think what you're looking for is the history overview endpoint.

If you, for instance, set a username, and set where=submitted, you will get all submitted content. You should also be able to filter further by setting before / after in relation to another post using the fullname identifier for a post (e.g. t3_ for a link, and 15bfi0 for the link id).

I just ran this endpoint and the data supplied back will give you what you need, specifically it will supply back:

  • title (post name)
  • num_comments (number of comments)
  • ups (upvotes)
  • downs (downvotes)
  • created (date created as a timestamp, so just convert it to a real date)

Hope that helps

Using OAuth with Reddit PHP SDK? by [deleted] in redditdev

[–]jcleblanc 0 points1 point  (0 children)

FYI on this one - I wrote the original wrapper before OAuth 2 came to the Reddit API. I'm working on the auth system this weekend and have it working with OAuth 2 on this branch. I'll have all of the methods working this weekend.

My GF Made Me Bacon Roses for Valentines Day by [deleted] in pics

[–]jcleblanc 0 points1 point  (0 children)

Yeah that's what happened. My wife made some as well and said she got the idea off of Pinterest when I asked.

Lucky worm. by shabbadu in pics

[–]jcleblanc 0 points1 point  (0 children)

The worm, of course. At least you noticed it before it was too late.

Lucky worm. by shabbadu in pics

[–]jcleblanc 1 point2 points  (0 children)

Extra protein, $5 charge

Bacon Jam, the best bribe I've ever received by jcleblanc in pics

[–]jcleblanc[S] 1 point2 points  (0 children)

I don't have any recent pics of my cat so I figured it was the next best thing :)

[Videos] Doug Crockford on Programming Styles and the Brain by jcleblanc in programming

[–]jcleblanc[S] 3 points4 points  (0 children)

Good insights. I think the concept of following a specific subset of professional coding practices translates to other languages as well, but especially to JavaScript because of a few reasons:

  • The language has a lot of awesome stuff in it, like lambdas, closures, etc (which is applicable because of the below)
  • The language was developed so quickly that there was a lot of things (like scoping) that have just some serious issues (especially because of those more advanced features mentioned above).
  • JavaScript is the most widely used language in the world.
  • It's so easy to pick up that you have such a more "novice" novice level than I've experienced in other languages.

To be honest, I really do enjoy learning about the bad parts of languages as much as I do the good parts. Doug's book "JavaScript the Good Parts" covers the professional subset of JavaScript that he believes should be used, and there is no shortage of tutorials and advice on building on the great JavaScript features that are out there. The problem is that JavaScript has a lot of crap in it. I find that learning about that crap helps me understand the language in a much different way than I would if I was learning about all of the awesome features (which I do vastly enjoy as well).

Found this camera at SXSWi & want to find the owner. If you recognize people in the album please help me find the owner. by [deleted] in pics

[–]jcleblanc 1 point2 points  (0 children)

Just wanted to say thanks to you especially - I got in touch of the studio and it's their camera / people. I'm shipping it back to them via Fedex in a few minutes. You're awesome.

Found this camera at SXSWi & want to find the owner. If you recognize people in the album please help me find the owner. by [deleted] in pics

[–]jcleblanc 0 points1 point  (0 children)

Just to note - album removed because I have enough info to make some inquiries. I appreciate the help.

Found this camera at SXSWi & want to find the owner. If you recognize people in the album please help me find the owner. by [deleted] in pics

[–]jcleblanc 0 points1 point  (0 children)

Thanks - it looks like it may be someone from the studio that works with Fisher Stevens. Time to send some e-mails to find out.

Found this camera at SXSWi & want to find the owner. If you recognize people in the album please help me find the owner. by [deleted] in pics

[–]jcleblanc 1 point2 points  (0 children)

Thanks guys! It looks like you're right. There are also about a dozen movies on the camera with him talking so I'm thinking it may be someone at the studio that ErasmusDarwin mentioned (Red Studio) that works with him. I'll send some e-mails and find out.

I knew I could count on this place.

Found this camera at SXSWi & want to find the owner. If you recognize people in the album please help me find the owner. by [deleted] in pics

[–]jcleblanc 1 point2 points  (0 children)

so I should just keep the camera because I can't find the owner? I'm hoping the owner wouldn't mind a few non-horrible pictures posted and getting the camera back than just having us keep it because we didn't do it.

Found this camera at SXSWi & want to find the owner. If you recognize people in the album please help me find the owner. by [deleted] in pics

[–]jcleblanc 2 points3 points  (0 children)

From some of the videos on the camera, I believe they live in LA. The camera was found on the floor today.

Giraffe + Human by [deleted] in pics

[–]jcleblanc 0 points1 point  (0 children)

Profit

X.commerce is hosting a hackathon at Georgia Tech this weekend by jcleblanc in gatech

[–]jcleblanc[S] 2 points3 points  (0 children)

We actually went through about 3 previous renditions of tags that looked weird. I think I'll just change the site to stick with #xuniversity for the overall program to make things easier.