Skip to content Skip to sidebar Skip to footer

Facebook For Android Video Upload - Works With One App And Not With Another

I have a weird problem when uploading a video to facebook... My code is based on this answer: Is uploading videos from an SD Card to Facebook possible with the Facebook SDK? It wor

Solution 1:

Solved.

The facebook app that works was created a few months ago. The facebook app that doesn't work was created yesterday.

Apparently, in that interval facebook added a new kind of permission - "upload_video". Even the app that worked never requested that permission, but it somehow uploaded the video regardless of it - maybe because of facebook's backwards compatibility.

The way I found this is by noticing that even the onComplete callback has a message, and in that message was the error. Very stupid SDK behavior in my opinion - if I had an error, why call onComplete() and not onFacebookError()?

Post a Comment for "Facebook For Android Video Upload - Works With One App And Not With Another"