How to access a feed with historic items (like in Google Reader) of a given feed url without authentication? - feed

One feature of Google Reader is that it maintains a history of all items of a subscribed feed and you have access to those items when you keep scrolling down the list.
In contrast if you visit the original feed from a blog or a news site, the feed will only contain the latest 10-20 posts, but Google Reader can show you more than that.
This is a very handy feature and I was wondering if there is a kind of API available to access the RSS or ATOM Feed as displayed by Google Reader.
I came across this site that describes an unofficial API for Google Reader:
http://code.google.com/p/pyrfeed/wiki/GoogleReaderAPI
And it includes the API method I was looking for:
http://www.google.com/reader/atom/feed/url of feed?n=number of items (default 20)
This works – however the drawback is that you need to be authenticated first.
I am looking for a simple solution to access a feed with all historic items of a given feed url from Google without the need to be authenticated. The idea is to use this as an input for further processing (e.g. in Yahoo Pipes)

You can instead use http://www.google.com/reader/public/atom/feed/<escaped_feed_url> to get at this data without needing authentication.

Related

Github Dashboard-Feed via API or RSS?

When loading the github.com page, I see a dashboard feed showing a list of "pushed" / "starred" updates for all of my followed repos.
When checking the Network tab on Chrome, I can see that this feed comes from this endpoint:
https://github.com/dashboard-feed
How do I get this data via the github api? Is it also available via RSS?
Thanks
I don't think it will be available via RSS because to access this type of endpoint it requires authentication.
So what I think is, you can create your own activity feed with the help of individual RSS feeds (Atom feeds in case of GitHub) of the people's activity you want to get notified.
For example see codeSTACKr's RSS feed: https://github.com/codeSTACKr.atom
You can also use this API https://api.github.com/users/USERNAME/following to get all the following people (so you don't have to add individual user names without authentication).
For example see codeSTACKr's following list: https://api.github.com/users/codeSTACKr/following
Inspired by Rahul's reply which is very close, I did some googling and found this article on how to build a python crawler for Github's API which mentioned this recent events endpoint...
https://api.github.com/users/headwinds/received_events
...which lists the star events in order and you could use that rebuild a dashboard replacing the username.

Facebook graph api search displaying users in Facebook but not in graph [duplicate]

I'm using Facebook graph Api to search users and data that i get is kinda different from that i get from Facebook UI. For example search response of User interface is friends, mutual friends and other related data in first. How can i query to get related data for current user ( i.e friends and mutual friends in first place).
Here is query that i'm using to search users.
https://graph.facebook.com/v2.5/search?fields=id,name,picture.type(normal)&limit=50&q={q}&type=user&access_token={token}
and data that i get is kinda different from that i get from Facebook UI
That’s because those are two completely different things.
The search functionality offered via the UI is called Graph Search. But the powerful possibilities that offers are not exposed via API. (To protect user privacy, and keep apps from doing extended user profiling via that data.)
Searching via API is limited to what is listed here: https://developers.facebook.com/docs/graph-api/using-graph-api/#search
That’s not much – but it’s all you get.

Facebook Graph api users search

I'm using Facebook graph Api to search users and data that i get is kinda different from that i get from Facebook UI. For example search response of User interface is friends, mutual friends and other related data in first. How can i query to get related data for current user ( i.e friends and mutual friends in first place).
Here is query that i'm using to search users.
https://graph.facebook.com/v2.5/search?fields=id,name,picture.type(normal)&limit=50&q={q}&type=user&access_token={token}
and data that i get is kinda different from that i get from Facebook UI
That’s because those are two completely different things.
The search functionality offered via the UI is called Graph Search. But the powerful possibilities that offers are not exposed via API. (To protect user privacy, and keep apps from doing extended user profiling via that data.)
Searching via API is limited to what is listed here: https://developers.facebook.com/docs/graph-api/using-graph-api/#search
That’s not much – but it’s all you get.

How to get Facebook share count for all links shared using a given application via Facebook API

Is it possible to get a list of statistics/analytics for all the links shared using a server-side Facebook application via the Facebook API?
I have a list of links that can be shared to Facebook using the appId defined in my server app. In order to refresh the share count of those items, I'm currently calling:
http://graph.facebook.com/{MY_URL}
whenever I want to update those values.
Obviously, this solution is not very scalable, because the number of items constantly grows so I can't call the method on all the URLs in sequence. Alternatively, this information can be fetched every time it needs to be visualized to the users. However, this can mean that the same request will be made to Facebook API in quick succession even though the chances of anything changing are small.
Ideally, I would like to get a list of all the links/items shared using my application with the share count for each of them. This way I can do a nightly update of all the values without going one by one.
I'm using the
me/links
API method to share the links to Facebook.
Analytics of a post, shared by a page can be accessed by the Insights API
Below id the Graph API call to access the count of clicks sent to your domain by a certain post.
/v2.4/<object-id>/insights/domain_feed_clicks?period=lifetime
If this is not what you're looking for, please refer to the permalink mentioned above and find the metric which best suits your need.
I would like to get a list of all the links/items shared using my application
The API does not provide that kind of list.
To reduce the number of API requests you have to make, you can request the data for several URLs in one go though: https://developers.facebook.com/docs/graph-api/using-graph-api/v2.4#multirequests
https://graph.facebook.com/?ids=http://example.com/foo,http://example.com/bar,…
(You should properly URL-encode any URLs you use a parameter values here of course.)

Facebook api supports saved items?

Does the Facebook api allow you to pull the information from saved articles on Facebook to download and read it in another app?
No, not anymore. It used to be accessible until early 2016.
See also: Facebook API to read bookmarked items.
As for a manual solution, see Scrape your Facebook saved links ( scroll to the bottom of the list, paste a js to console → it generates a text list of urls). I'd guess one ccould automate that further, via a headless browser instance.
As of now they don't have an api for saved items. Read this techcrunch post for more details .
I’ve asked Facebook whether websites and Page admins will get
analytics on how often they’re Saved, which could help refine their
content and promotion strategies, and better understand what to share
on Facebook. It tells me “Not at this time.” There are currently no
plans for an API or external Save button that developers could use to
let people add to their Saved list from outside of Facebook. You also
can’t natively export from Save to other read-it-later apps, which
would be nice.