How can I post link inside the DESCRIPTION field, when posting from iphone to user wall ?
I want to add somthing like “from XXXX iphone app” // when user click it will take him to app store.
Thanks.
UPDATE:
after I understand the option of “action link”, I had action link to my code. with the link the user can go to the appstore.
OK. I got it ! , thanks to you, I saw what is actionlink concept.
the paramater I had to the param array is :
NSDictionary * actionLinks =[NSArray arrayWithObjects:[NSDictionary dicationaryWithObjectsAndKeys:@"My Action Name",@"name",@"http://myactionurl.com",@"link",nil],nil];
SBJsonWriter *_jsonWriter = [[SBJsonWriter alloc]init];
NSString *actionLinksString =[_jsonWriter stringWithObject:actionLinks];
MSMutableDictionary *dicInfoToShare = [NSMutableDictionaryWithObjectsAndKeys:
@"www.youtubelink.com",@"link",
@"the name",@"name",
@"the caption",@"caption",
@"the description",@"description",
actionLinksString, @"actions", nil]; // <---the addition
I have done the following in my app.
It works.
Its better to have action links since they show under the post..always
This is for the older Facebook API.if you are implementing it.
Try this..
http://www.raywenderlich.com/77/how-to-post-on-facebook-with-your-iphone-app