Publish video and images with Restfb

35 views
Skip to first unread message

SharonBn

unread,
Nov 13, 2018, 12:08:15 PM11/13/18
to RestFB

Hi.

I have desktop Java app that has been working for several years. Its a desktop app that integrated with a android app. The tablet makes the Login and send the 'user_token' to the desktop application . The desktop app publish an image or a video file using restFb. i understand that some changes have been made - "As of April 24,2018, the publish_actions permission has been removed" . That is the code i use: facebookClient.publish("me/photos", FacebookType.class, ba, Parameter.with("message",KboxProperties.getValue("facebookUploadRemark"))); i get error : OAuthException: (#100) No permission to publish .





Norbert Bartels

unread,
Nov 14, 2018, 5:17:11 AM11/14/18
to RestFB
If you use the user access token to publish stuff to Facebook, this cannot work. Facebook removed the possibility to publish stuff as a user. Only pages are allowed to publish via API.
Reply all
Reply to author
Forward
0 new messages