私は、次のRuby on Railsコードを使用して、ウォールポストに設定できるアクションで遊んでみています。しかし、これらのウォールポストを見ると、これらのアクションは表示されません。また、グラフAPIエクスプローラーには表示されません。ウォールポストグラフのAPIドキュメントに従っていますが、ここで何かが欠落している可能性があります。
actionArray = Array.new
actionArray << {"name" => "custom1", "link" => myUrl}
actionArray << {"name" => "custom2", "link" => myUrl}
postId = @graph.put_wall_post("some text", {"name" => "some text",
"link" => myUrl,
"caption" => "caption",
"description" => "description",
"picture" => pictureUrl,
"actions" => actionArray})
考え?ありがとう