-1

i Successfully bypass the Twite dialog and post directly to Twitter In ShareKit using following Code

 SHKTwitter *twitter = [SHKTwitter new];
[twitter authorize];
SHKItem *item = [SHKItem new];
[item setCustomValue:@"i am tweeting" forKey:@"status"];
twitter.item = item;
[twitter send];
item.shareType = SHKShareTypeText;
item.text = @"hi";

But now also want to apply it to Facebook. plz help me

i use above code from here

Thanks In Advance

Community
  • 1
  • 1
freelancer
  • 1,658
  • 1
  • 16
  • 37

2 Answers2

1

FBGraph is much better way to use facebook API in your app.

download the FBGraph Api documents folder then add it to in your folder. and read the instruction on facebook developer site http://developers.facebook.com/docs/reference/api/.

this is the sample code - sample code

and let me know if you have any query about it.

TheTiger
  • 13,264
  • 3
  • 57
  • 82
0

No it's possible to imitate the Share dialog directly.

You can use the /ID/feed connection but the user status update will appear as "via your app".

phwd
  • 19,975
  • 5
  • 50
  • 78