It does not work with a UIImage
, as the Api only allows string
s:
picture: Determines the preview image associated with the link. string
Source: Graph API Reference
The picture
parameter is the preview image for the link and can't be uploaded.