I have searched for a lot of questions regarding this The page you requested was not found.
when I do it in sample app then it work nicely and it connecting to facebook and posting work successfuly. But when I integrate it in my App then when I click on Facebook share button then after login it gives The page you requested was not found
what problem is this please help while I m using the latest facebook ios sdk
Please Help!!!
This is my code
facebook = [[Facebook alloc] initWithAppId:@"App_id" andDelegate:self];
NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults];
if ([defaults objectForKey:@"FBAccessTokenKey"]
&& [defaults objectForKey:@"FBExpirationDateKey"]) {
facebook.accessToken = [defaults objectForKey:@"FBAccessTokenKey"];
facebook.expirationDate = [defaults objectForKey:@"FBExpirationDateKey"];
}
if (![facebook isSessionValid]) {
[facebook authorize:nil];
}
else {
[self showShareDialog];
}
///// show ShareDialog Method
NSMutableDictionary* params = [NSMutableDictionary dictionaryWithObjectsAndKeys:
@"App_id", @"app_id",nil];
[facebook dialog:@"feed" andParams:params andDelegate:self];
Oho i dont know how to handle this problem. i tried all the solution but no one work for me. problem is when i make a new application and then use facebook ios sdk then it work nice but when i do the same thing in my own application then it gives to problem. 1) The requested page not found 2) does not display dialog screen niether it post it came back to the main facebook page.
What the problem is This Please Help!!! i have set the url in .plist file everything but not work. i m busy with this since Last week please help