I am tearing my hair out trying to get my app to work with AppLinks on iOS. When I try to post to /me/feed I get back an error and a "msg = (#100) link is not properly formatted". I know it "should" work as I wrote a 2nd to invoke my app that call UIApplication:openURL and it works just fine. I know that my link is properly formatted. Here is the code that does the post:
[FBRequestConnection startWithGraphPath:@"/me/feed"
parameters:params HTTPMethod:@"POST"
completionHandler:^(FBRequestConnection *connection, id result, NSError *error) {
params are: (lldb) po params { app = numericaltestid; link = "urlschemestring://play/content?contentId=1"; message = cohggjfkhf; picture = "http://img.youtube.com/vi/opmApx_el-U/mqdefault.jpg"; }
In the plist is the following:
<key>CFBundleURLTypes</key>
<array>
<dict>
<key>CFBundleURLName</key>
<string>com.companyname.Appname</string>
<key>CFBundleURLSchemes</key>
<array>
<string>fbnumericaltestid </string>
</array>
</dict>
</array>
<key>CFBundleVersion</key>
<string>1.0</string>
<key>FacebookAppID</key>
<string>numericaltestid </string>
<key>FacebookUrlSchemeSuffix</key>
<string>urlschemestring </string>
<key>FacebookDisplayName</key>
<string>Appname</string>