Closed confile closed 11 years ago
First of all it is now working. But there are some errors in your doku. This is the correct notation:
def publishPhotoResponse = facebookClient.publish("me/photos", [message: "Test Image"], "logo234.jpg", new URL(linkUrl).openStream())
Why do you need a name of the file when you send and URL?
And:
The method is not publishFile it is publish
I've updated the doc.
FileName is required but the underlying RestFB java lib... (BinaryAttachment class)
First of all it is now working. But there are some errors in your doku. This is the correct notation:
def publishPhotoResponse = facebookClient.publish("me/photos", [message: "Test Image"], "logo234.jpg", new URL(linkUrl).openStream())
Why do you need a name of the file when you send and URL?
And:
The method is not publishFile it is publish