1
벽 게시물에 앱 특정 작업을 게시하려했지만 아무 도움이되지 않습니다. 내가 도대체 뭘 잘못하고있는 겁니까?Facebook GraphAPI 벽 게시물에 대한 앱 작업이 작동하지 않음
oauth = Koala::Facebook::OAuth.new(CLIENT_ID, CLIENT_SECRET, "http://myurl.com/fb_auth")
token = oauth.get_access_token(params[:code])
graph = Koala::Facebook::API.new token
p graph.put_wall_post("explodingdog!", {
:link => "http://youtube.com/",
:caption => "Youtube",
:actions => [{:name => "Share", :link => "http://google.com"}]
})