- (void)webViewDidFinishLoad:(UIWebView *)webViewLet's hope Facebook will quickly fix their faulty server-side code - and next time do better testing before a release...
{
NSLog(@"%@",
[webView stringByEvaluatingJavaScriptFromString:
@"document.body.innerHTML"]);
}
Showing posts with label facebook. Show all posts
Showing posts with label facebook. Show all posts
Thursday, June 30, 2011
How to View HTML Source Code from UIWebView
Monday, January 24, 2011
How to Do Autologin to Facebook Using FBConnect
Trying to integrate Facebook connection into a non-disclosured iPhone application, suffering with lack of documentation. Wonder why everything has to be done the hard way... for example auto-login was missing from demo.
Grab FBConnect sources from FBConnect Github repository, fix the demo to work for you (instrunction how to do that were long, but excellent) - and then add these modifications in DemoAppViewController.m:
Grab FBConnect sources from FBConnect Github repository, fix the demo to work for you (instrunction how to do that were long, but excellent) - and then add these modifications in DemoAppViewController.m:
Labels:
facebook,
FBConnect,
NSUserDefaults,
setObject,
standardUserDefaults,
stringForKey
Thursday, January 20, 2011
Warning: Unable to read symbols for /Developer/Platforms/iPhoneOS.platform
Got mysterious warnings, while trying to debug an application in iPhone device. Used to work, but suddenly not any more! The only difference I can think of is that I'm using Facebook iOS SDK for the first time.
Subscribe to:
Posts (Atom)