Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在 WebView 中收到以下错误:
标题:
发布到墙上
身体:
操作链接必须具有字符串“href”和“文本”属性”
其他按钮(导航):
好的
上下文:ShareKit build 134529c,FBConnect 已插入。我正在尝试将 url (http://www.google.com) 发布到我的墙上。
身份验证没问题,url 不为零。我想我应该在某处添加这些属性,但我不想修改 FBConnect 类。有任何想法吗?
问题是我在 myDefaultSHKConfigurator 中将 appURL 留空。应该有一些东西来指示哪些字段是强制性的......
- (NSString*)appURL { return @""; //wrong }
代替
- (NSString*)appURL { return @"http://www.google.com"; //OK }
我把问题留在这里,也许有一天有人会遇到它。