페이스 북 벽에 이미지를 업로드하는 중 이미지가 벽에 전혀 표시되지 않습니다. 시도 :facebook에 이미지 업로드
[[FBRequest requestWithDelegate:self] call:@"facebook.Users.setStatus" params:
params dataParam:UIImagePNGRepresentation(img)];
를 사용하지 않으셔도됩니다. 그것을 할 수
-(IBAction)btnSendToFacebookPressed:(id)sender
{
NSString *var = [[NSUserDefaults standardUserDefaults] valueForKey:@"IMAGE_INDEX"];//This line may not be useful to you...
NSString *imageIndex = [[NSBundle mainBundle] pathForResource:var ofType:@"jpg"];
SHKItem *item = [SHKItem image:[UIImage imageWithContentsOfFile:imageIndex] title:@"Your Title"];
[NSClassFromString(@"SHKFacebook") performSelector:@selector(shareItem:) withObject:item];
}
Sharekit 이외의 솔루션은 무엇입니까? – Vani
@ "facebook.photos.upload"로 변경하면 이미지가 업로드되지만 params없이 앨범에 업로드됩니다. 원하는 것은 페이스 북 벽에 텍스트 (params)와 함께 게시해야합니다. – Vani