简体   繁体   English

Facebook + iOS-发布链接而不显示对话框

[英]Facebook + iOS - post link without dialog

I am using facebook-ios-sdk in my iphone application 我在iPhone应用程序中使用facebook-ios-sdk

I am trying to post a link on facebook from my iphone application 我正在尝试从iPhone应用程序在Facebook上发布链接

NSLog(@"link..%@",[shareDict objectForKey:@"url"]);
NSMutableDictionary* params = [NSMutableDictionary dictionaryWithObjectsAndKeys:
    [shareDict objectForKey:@"url"], @"link",nil];
[facebookObj requestWithMethodName:@"facebook.Stream.publish" andParams:params
    andHttpMethod:@"POST" andDelegate:self];

it successfully posted as my application log 它成功发布为我的应用程序日志

2011-03-30 13:10:02.128 myApp[1804:207] link..http://khabar.ndtv.com/Home.aspx
2011-03-30 13:10:04.064 myApp[1804:207] received response..https://api.facebook.com/method/facebook.Stream.publish
2011-03-30 13:10:04.066 myApp[1804:207] request didLoad.. . . API..thod/facebook.stream.publish

But link is not showing on facebook wall... it shown as.. 但是链接没有显示在Facebook墙上...显示为..

在此处输入图片说明

Now 现在

  • How I post the link with out showing dialog 我如何在不显示对话框的情况下发布链接
  • How I it as like in facebook .. as user have option to select the image from link with out any dialog.. I can use my own view for it. 我在Facebook上的感觉如何..用户可以选择从链接中选择图像而无需任何对话框..我可以使用自己的视图。 like as 在此处输入图片说明

Here's my FB arguments snippet: 这是我的FB参数片段:

[fbArguments setObject:theName        forKey:@"name"];
[fbArguments setObject:theCpation     forKey:@"caption"];
[fbArguments setObject:theDescription forKey:@"description"];
[fbArguments setObject:theLink        forKey:@"link"];
[fbArguments setObject:theHREF        forKey:@"href"];
[fbArguments setObject:thePictureURL  forKey:@"picture"];

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Facebook iOS 授权和发布没有对话? - Facebook iOS Authorise and Post Without Dialog? iOS使用Facebook graph API发布没有共享对话框的帖子? - iOS using Facebook graph API for post without share dialog? iOS Facebook申请,无需使用Facebook对话框 - IOS Facebook apprequests, without using the Facebook dialog 在Facebook墙上发布没有链接? - Post on Facebook wall without link? Facebook iOS-无法在“共享”对话框上发布OpenGraph - Facebook iOS - not able to post OpenGraph on Share Dialog iOS Facebook Post对话框无法在设备上正确呈现 - iOS Facebook Post Dialog not rendering properly on device iOS版。 Facebook的。 是否可以在没有对话的情况下将消息发布到朋友的墙上? - iOS. Facebook. Is it possible to post a message to a friend's wall without a dialog? 如何在不显示对话框的情况下发布到Facebook? - How to post to Facebook without showing dialog? 在Facebook墙上发布字符串而不显示对话框(iPhone Facebook SDK) - Post string on Facebook wall without showing dialog (iPhone Facebook SDK) 可以通过 FB Messenger 从 iOS 应用程序共享 url 链接而不显示 UIActivityViewController 对话框并且不需要 Facebook SDK? - Can a url link be shared from iOS app via FB Messenger without presenting UIActivityViewController dialog and not needing Facebook SDK?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM