How to use Java to create a facebook event with photo(png or jpg) -
How to use Java to create a Facebook event with a picture (png or jpg)
Is there any
Many Thanks
When I read the graph-api document, I still can not understand the scope.
Simply use the example given above is taken from the excellent documentation on the website:
// It's easy to publish an image on the photo album! // Simply specify the image you want to upload and restfie will handle it from there. FacebookClient facebookClient = New DefaultFacebookClient (MY_ACCESS_TOKEN); Publish FacebookTypeFooterspons = FacebookClitPobilish ("I" / "Photo", Facebook Type, Class, Binary Attitudes. ("Cat Page", getClass (). GetResourceAsstream ("/ cat.png"), with parameter ("Message" Test cat ")); Out.println ("Publish Photo ID:" + Publish Photorepression.giid ());
Comments
Post a Comment