Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Jun 22nd, 2012  |  syntax: None  |  size: 1.07 KB  |  hits: 11  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. iPhone/Objective-C - Facebook Single Sign On
  2. NSLog(@"%@", [[NSHTTPCookieStorage sharedHTTPCookieStorage] cookies]);
  3.        
  4. (
  5.     "<NSHTTPCookie version:0 name:@"datr" value:@"5WqaTXRFMRlijBtMvcGg-wS1" expiresDate:@"2013-04-06 07:42:45 +0000" created:@"323854917.000000" sessionOnly:FALSE domain:@".facebook.com" path:@"/" secure:FALSE comment:@"(null)" commentURL:@"(null)" portList:[]>",
  6.     "<NSHTTPCookie version:0 name:@"locale" value:@"en_US" expiresDate:@"2011-04-19 09:46:10 +0000" created:@"324294323.000000" sessionOnly:FALSE domain:@".facebook.com" path:@"/" secure:FALSE comment:@"(null)" commentURL:@"(null)" portList:[]>",
  7.     "<NSHTTPCookie version:0 name:@"m_user" value:@"myfacebookusernameishere%3A105339949%3Anwib6jXhKY2tIYjz%3A0%3Aajax_0%2Cwidth_0%3A1302162165" expiresDate:@"2011-07-06 07:42:45 +0000" created:@"323854917.000000" sessionOnly:FALSE domain:@".facebook.com" path:@"/" secure:FALSE comment:@"(null)" commentURL:@"(null)" portList:[]>"
  8. )
  9.        
  10. NSLog(@"%@", [[NSHTTPCookieStorage sharedHTTPCookieStorage] cookies]);
  11.        
  12. [facebook requestForGraph:@"me" delegate:self]