google-reader

Google Reader API - Getting Feeds

我怕爱的太早我们不能终老 提交于 2020-01-29 04:12:07
问题 Does anyone know if there is a Google Reader service call that a user can make to get the name/uri of all feeds that fall under a certain label/category? Thanks! 回答1: You can use a variation of the code below to get access to the Google Reader system. You need to send the header ("Authorization", "auth=" +myauthvar) with each request. In order to edit items you will need the token which I also demo below. Once you have the auth id you can post (with that header intact) to http://www.google

Accessing Google Reader subscriptions with OAuth2 access_token

让人想犯罪 __ 提交于 2020-01-12 02:33:11
问题 Is that possible to access Google Reader subscriptions using OAuth2 access_token? I've created Google APIs project, setting up domain and created javascript code that receives OAuth2 token. It works well for other Google APIs, but not for Google Reader OPML subscriptions. Could anyone hint me? 回答1: Seems I've solved myself. The trick was that after obtaining "code" token from browser, you should perform call to https://accounts.google.com/o/oauth2/token to obtain access_token, token_type,

Android 4.0 ICS turning HttpURLConnection GET requests into POST requests

 ̄綄美尐妖づ 提交于 2019-12-28 04:08:08
问题 My Galaxy Nexus arrived today, and one of the first things I did was to load my app onto it so I could demonstrate it to my friends. Part of its functionality involves importing RSS Feeds from Google Reader. However, upon trying this, I was getting 405 Method Not Allowed errors. This problem is Ice Cream Sandwich-specific. The code I've attached works fine on Gingerbread and Honeycomb. I've traced the error down to the moment the connection is made, when the GET request magically turns into a

jQuery Ajax Unauthorized 401 Error

回眸只為那壹抹淺笑 提交于 2019-12-25 14:11:51
问题 I have this code: <?php $username = $_POST['username']; $password = $_POST['password']; $ck = time(); $read = new GoogleReaderAPI( $username, $password ); $token = $read->getToken(); echo "RSS Feed: <input type='text' name='rss_feed' /> <br /> "; echo "<input type='hidden' value='$token' id='token' />"; echo "<input type='hidden' value='$ck' id='ck' />"; echo "<input type='hidden' value='$username' id='username' />"; echo "<input type='hidden' value='$password' id='password' />"; echo '<input

jQuery Ajax Unauthorized 401 Error

痴心易碎 提交于 2019-12-25 14:11:49
问题 I have this code: <?php $username = $_POST['username']; $password = $_POST['password']; $ck = time(); $read = new GoogleReaderAPI( $username, $password ); $token = $read->getToken(); echo "RSS Feed: <input type='text' name='rss_feed' /> <br /> "; echo "<input type='hidden' value='$token' id='token' />"; echo "<input type='hidden' value='$ck' id='ck' />"; echo "<input type='hidden' value='$username' id='username' />"; echo "<input type='hidden' value='$password' id='password' />"; echo '<input

How to read all shared google reader feeds by code?

本小妞迷上赌 提交于 2019-12-21 06:16:55
问题 I share a lot of feeds on my google reader, i want some code using asp.net to read all these feeds and put in a page, may be with paging because feeds are too much. Any one know how to do so?, or if there is a tool for that 回答1: You can use the RSSToolkit to read the shared feeds 回答2: You can find a Atom feed for you feeds here: http://www.google.com/reader/atom/ You can find a more specific url, if you login into Google Reader and click the RSS button, in the top of your browser. Then you

How to integrate Google Reader in Android Application?

白昼怎懂夜的黑 提交于 2019-12-20 15:29:13
问题 I want to integrate Google Reader in my android application. Please help me on how to do this? 回答1: Hope this helps: @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); try{ String auth = getGoogleAuthKey("<your gmail email address>","<your password>"); String token = getGoogleToken(auth); String result = postToGoogleReader(token, auth); TextView tv = (TextView) findViewById(R.id.textView1); tv.setText(result); }catch

How to skip known entries when syncing with Google Reader?

为君一笑 提交于 2019-12-18 10:57:18
问题 for writing an offline client to the Google Reader service I would like to know how to best sync with the service. There doesn't seem to be official documentation yet and the best source I found so far is this: http://code.google.com/p/pyrfeed/wiki/GoogleReaderAPI Now consider this: With the information from above I can download all unread items, I can specify how many items to download and using the atom-id I can detect duplicate entries that I already downloaded. What's missing for me is a

Google Reader API: Unauthorized Search?

孤街浪徒 提交于 2019-12-11 17:28:42
问题 Is there any way to search on a stream/feed for an item without authentication? /reader/api/0/search/items/ids returns Unauthorized error. 回答1: No, this is not possible. The primary use-case for search is to search over items the user has read in feeds they're subscribed to. 来源: https://stackoverflow.com/questions/9733926/google-reader-api-unauthorized-search

Using JSON Framework on iPhone - HELP!

人走茶凉 提交于 2019-12-11 03:51:18
问题 Currently I am using the following code to parse the JSON link sent. This is how I also send a GET call to the Google Reader API for an upcoming iPhone application of mine. - (NSArray *)subscriptionList { if(!cookies && [cookies count] == 0) { [self requestSession]; } NSString * url = @"http://www.google.com/reader/api/0/subscription/list?output=json&client=scroll"; ASIHTTPRequest * request = [ASIHTTPRequest requestWithURL:[NSURL URLWithString:url]]; [request setRequestMethod:@"GET"];