photo / mobile-android

Trovebox mobile application for Android
Apache License 2.0
120 stars 64 forks source link

Post a photo to Facebook Albums #174

Open jmathai opened 11 years ago

jmathai commented 11 years ago

When sharing with Facebook we should give the option or automatically post the photo to Facebook instead of just a link.

This requires an API which supports that.

photo/mobile-ios#224 photo/frontend#1003

httpdispatch commented 11 years ago

Should the user be able to choose share method (link or album upload)? If so what is the preferred place to do it.

Also we can upload pictures to twitter in the similar way.

httpdispatch commented 11 years ago

@jmathai what is the proper link to the shared image 'pathOriginal' or 'original' in case we will upload photo to Facebook albums?

httpdispatch commented 11 years ago

@jmathai @patricksan we can have a setting to upload photos to facebook or twitpic when share or use the link to the openphoto (current implementation). What do you think?

jmathai commented 11 years ago

@httpdispatch This would be implemented on the server and the mobile app can just make a call to it. You can implement it on the mobile side once the API is ready on the server.

httpdispatch commented 11 years ago

@jmathai How are you going to implement this on the server side? Facebook auth tokens expire very often so you need to extend them all the time?

jmathai commented 11 years ago

It is a bit of a pain but we can extend the life of the access token.

https://developers.facebook.com/roadmap/offline-access-removal/