2

我正在尝试发布操作

    NSMutableDictionary *params = [[NSMutableDictionary alloc] initWithCapacity:5];
    [params setObject:[self getHomePageTitle] forKey:@"article"];
    [params setObject:[self getHomePageTitle] forKey:@"title"];
    [params setObject:@"xxxxxxxxxxx" forKey:@"app_id"];        
    [params setObject:self.regularUrlForFacebookSharing forKey:@"url"];
    [params setValue:appDelegate.facebook.accessToken forKey:@"access_token"];

    [appDelegate.facebook requestWithGraphPath:@"me/news.reads" 
                         andParams:params
                     andHttpMethod:@"POST"
                       andDelegate:appDelegate.facebook];

我为“文章”设置的所有内容都在错误之后不断出现错误

{"error":{"message":"(#3503) \"\u003Ctitle xmlns=\"http://www.w3.org/1999/xhtml\">xxxxx 是属性 \"article\ 的无效值" 类型为 \"Reference\"","type":"OAuthException","code":3503}}

请建议我应该如何设置“参考”属性类型

4

0 回答 0