facebook graph api - Why does FB ignore the picture, name, and caption parameter when posting a link on a user's stream? -


My app has posted a link on the user's wall, if it has permission, but this image, name, and I pass the caption values ​​along with it.

  HTTParty.post ("https://graph.facebook.com/#{@sponsorship.fbid}/links" ,: query = & gt; URI.escape ("# {request}" .env ['HTTP_HOST']} / images / fb_post / after_donation.jpg ") :: name = & gt; URI.encode (" click here "), caption => URI.encode (" This caption is ")})   

Any help is appreciated, thanks.

Think

  https: //graph.facebook. Com / # {@ sponsorship.fbid} / feed   

instead of

>  https://graph.facebook.com/# {sponsorship .fbid} / link    

Comments