View Single Post
Posts: 4 | Thanked: 4 times | Joined on Nov 2013
#1075
Originally Posted by uvatbc View Post
I didn't understand your question but maybe just pointing you to my implementation will help...
I can successfully log in Google Voice web service via this URL by passing the necessary parameters.

Code:
https://accounts.google.com/ServiceLogin?service=grandcentral
However, when I list out all the cookies in the Cookie Storage. I don't get all the cookies that I should have logging in Google Voice.

Objective-C code:

Code:
NSHTTPCookie *cookie;
    NSHTTPCookieStorage *cookieJar = [NSHTTPCookieStorage sharedHTTPCookieStorage];
    for (cookie in [cookieJar cookies]) {
        NSLog(@"%@", cookie);
    }
All i got back from cookies are 3 names:

Code:
GALX - with some random characters and numbers value
GAPS - with some random characters and numbers value
S - with value: "grandcentral=xxxxxx..xxxx"
I should get back a lot more in Cookies such as:

HSID, SSID, APISID, PREF, NID And most importantly gvx cookie.

I did set User-agent to iPhone in the request header. How do I get gvx cookie?
 

The Following User Says Thank You to iCoding For This Useful Post: