我張貼上用下面的代碼當前用戶飼料後的「名字」:Facebook發佈的新聞源和鏈接背後的後
NSMutableDictionary *postParams = [[NSMutableDictionary alloc] initWithObjectsAndKeys:
@"http://url.com/image.jpg", @"picture",
@"The title of the post on the feed", @"name",
@"Caption text", @"caption",
@"Description text", @"description", nil];
[self.facebook requestWithGraphPath:@"me/feed" andParams:postParams andHttpMethod:@"POST" andDelegate:nil];
它的偉大工程,但我想不出如何設置帖子名稱後面的鏈接(「Feed上帖子的標題」)。現在鏈接如下所示:
https://www.facebook.com/connect/uiserver.php?app_id=[MY_APP_ID]&method=permissions.request&redirect_uri=[THE_URL_OF_THE_PICTURE]&response_type=code&display=page&auth_referral=1
有沒有辦法輕鬆控制此網址?謝謝!
- 編輯 -
這是一種後的截圖,我想創建:
http://cl.ly/image/020D1z3S2L16。 藍色標題「Je t'aienvoyéundéfidansAnnées80」背後的鏈接非常乾淨(就像http://itunes.apple.com/app/[APP_NAME]),我也想這樣做。
我相信這不是一個開放圖形動作,只是一個基本的帖子。謝謝
添加一個名爲'參數@「鏈接」'你的NSMutableDictionary ... – 2012-09-01 15:18:34
已經嘗試過,但後正在轉向自己入一個「馬丁分享了一個鏈接」。我不想這樣。我已經看到人們這樣做,所以我也試圖:) – MartinMoizard
你能指定它是什麼實際上是你試圖實現更多,截圖也許?我想你可能會在這裏討論一些Open Graph動作,而不僅僅是一個張貼的鏈接。 – CBroe