I am using SLComposeViewController
framework to create Facebook connectivity through iPhone app, to post feeds from my app to Facebook.
However, i want to use a particular account for e.g. myCompanyName
account to post on Facebook. It will be like following:
Click on post to Facebook button -> myCompanyName account will be like an intermediate account and on its wall my posts will be displayed -> Once done post data to user's personal fb account.
So whenever user will see post on his wall, he will see posted via "myCompanyName
".
How do i do this?
Right now I am posting directly to user's wall using follwing code:
SLComposeViewController *controllerSLC = [SLComposeViewController composeViewControllerForServiceType:SLServiceTypeFacebook];
[controllerSLC addURL:[NSURL URLWithString:someurl]];
[controllerSLC addImage:[UIImage imageNamed:@"someimg.png"]];
[self presentViewController:controllerSLC animated:YES completion:Nil];
Please help.