I'm trying to get a feed from google reader following this guide:
http://code.google.com/p/pyrfeed/wiki/GoogleReaderAPI
They tell me that I have to have a cookie with the following properties :
name SID
domain .google.com
path /
expires 1600000000
If you don't have a http client API that support cookies, you can just add header lines that simulate this cookie in all other requests.
But I dont know how to add a header to simulate this cookie
[request setURL:[NSURL URLWithString😡"http://www.google.com/reader/atom/user/-/state/com.google/reading-list"]];
[request setTimeoutInterval:30.0];
[request setHTTPMethod😡"GET"];
[request addValue🙁@"name=%@",SID) forHTTPHeaderField😡"Cookie"];
The above code wont work...
Can someone tell me what this guy means?
Thanks!
http://code.google.com/p/pyrfeed/wiki/GoogleReaderAPI
They tell me that I have to have a cookie with the following properties :
name SID
domain .google.com
path /
expires 1600000000
If you don't have a http client API that support cookies, you can just add header lines that simulate this cookie in all other requests.
But I dont know how to add a header to simulate this cookie
[request setURL:[NSURL URLWithString😡"http://www.google.com/reader/atom/user/-/state/com.google/reading-list"]];
[request setTimeoutInterval:30.0];
[request setHTTPMethod😡"GET"];
[request addValue🙁@"name=%@",SID) forHTTPHeaderField😡"Cookie"];
The above code wont work...
Can someone tell me what this guy means?
Thanks!