We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Publishing file with file_url parameter instead of a BinaryAttachment
BinaryAttachment
restfb/restfb#606
The text was updated successfully, but these errors were encountered:
Publish image example
DefaultFacebookClient client = new DefaultFacebookClient(pageAccessToken, Version.VERSION_2_5); JsonObject result = client.publish("<page id>/photos", JsonObject.class, Parameter.with("message", "This is a cool test image"), Parameter.with("url",imageUrl) );
Sorry, something went wrong.
Publish video example
DefaultFacebookClient client = new DefaultFacebookClient(pageAccessToken, Version.VERSION_2_5); JsonObject result = client.publish("<page id>/videos", JsonObject.class, Parameter.with("message", "This is a cool test video"), Parameter.with("file_url",imageUrl) );
No branches or pull requests
Publishing file with file_url parameter instead of a
BinaryAttachment
restfb/restfb#606
The text was updated successfully, but these errors were encountered: