Facebook post not sending FBConnect

281 views Asked by At

I am using FBConnect for iPhone to post on the wall of the user in my iPhone Application.

Unfortunately for some reason this is not working with the dialog attachment I am using below.

dialog.attachment = [NSString stringWithFormat:@"{\"name\":\"Check out %@.\",\"href\":\"%@\",\"description\":\"I found this! \",\"href\":\"%@\",\"media\":[{\"type\":\"image\",\"src\":\"%@\",\"href\":\"%@\"}]}", song, songlink,songlink, link, link];

I would really appreciate it if you could tell me why this isn't working.

2

There are 2 answers

0
max_ On BEST ANSWER

After more attempts of fixing this, I found out that the FBConnect API does not support redirection URL's.

Thanks to @Myles Gray for the help!

2
Rayfleck On

Dump your attachment to NSLog and verify that it's syntactically correct - does it say what you think it will? Are all of your quotes balanced correctly?