I am using new facebook sdk 3.0 to send app request and some data along with it. I can successfully send request. In FB app I can see notification of request but when I click on request FB app redirect me to my app but I dont get any data.
In
- (BOOL)application:(UIApplication *)application openURL:(NSURL *)url sourceApplication:(NSString *)sourceApplication annotation:(id)annotation
function I print url it says –
“{type = 15, string =
fb170873116339908://authorize#expires_in=0&access_token=BAACbaH9mrsQBAP2nmjqTdOzQPezetH2Y5sZAMXjXRPZB3nSSKBRD8lgdOY4OoU8mNl4Jeh3KVZCApYxESBfgQ7bRHsZCYtZAV9vDOyx5yDTCttWMoGKZAQ5eiErRTCyU4ZD&target_url=http%3A%2F%2Fapps%2Efacebook%2Ecom%2Fapps%2Fapplication%2Ephp%3Fid%{FB
APP ID}, encoding = 134217984, base = (null)}”
I also search for answer and found out that mobile app cannot sen data along with appreques. Is this true? If not can some one help me with tutorial or example.
and also can some one confirm that tutorial is working or not?
Your FB app providing you url of you canvas app. May be you have entered wrong Url schema suffix in FB app settings. you will find “Url schema suffix” listed under native IOS app tab.
I also encountered same problem and I delete all Url schema suffix.
Hope this may help you.