Comments (1)
This actually looks pretty straightforward. With http://www.reddit.com/r/news.json
I get the "hottest" posts from a subreddit, "news" here, and with kind == "t3"
I get only the link posts.
Available data from one post.
{
"kind": "t3",
"data": {
"domain": "theguardian.com",
"banned_by": null,
"media_embed": {},
"subreddit": "news",
"selftext_html": null,
"selftext": "",
"likes": null,
"secure_media": null,
"link_flair_text": null,
"id": "1qh2zr",
"secure_media_embed": {},
"clicked": false,
"stickied": false,
"author": "trai_dep",
"media": null,
"score": 2458,
"approved_by": null,
"over_18": false,
"hidden": false,
"thumbnail": "",
"subreddit_id": "t5_2qh3l",
"edited": false,
"link_flair_css_class": null,
"author_flair_css_class": null,
"downs": 2067,
"saved": false,
"is_self": false,
"permalink": "/r/news/comments/1qh2zr/occupy_wall_street_activists_buy_15m_of_americans/",
"name": "t3_1qh2zr",
"created": 1384311679.0,
"url": "http://www.theguardian.com/world/2013/nov/12/occupy-wall-street-activists-15m-personal-debt",
"author_flair_text": null,
"title": "Occupy Wall Street activists buy $15m of Americans' personal debt: Rolling Jubilee spent $400,000 to purchase debt cheaply from banks before 'abolishing' it, freeing individuals from their bills.",
"created_utc": 1384282879.0,
"ups": 4525,
"num_comments": 404,
"visited": false,
"num_reports": null,
"distinguished": null
}
from instacurate.
Related Issues (20)
- Timestamps for Reddit links don't work
- Reload by scrolling doesn't work
- show users what subreddits other users are currently looking at
- Check typed content against list of existing subreddits and autocomplete
- display warning when no subreddit with the typed name exists
- Design improvements
- Fixed header bar so that search field is always visible HOT 1
- Handle links within reddit intelligently
- Load reddit front page by default HOT 2
- content gets mixed up if input switched before all content is loaded HOT 6
- Update to latest versions of bootstrap and font-awesome
- Show comment count and link directly to comments
- add "random" option to suggestions
- New embed format from Embed.ly
- Add number of new elements to favicon
- Fetch more than 25 links from Reddit API
- Update demo image
- Embedly returns title and/or publisher as undefined HOT 5
- Check caching function HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from instacurate.