…FB added a handful of delicate tweaks and turns to the site—some you might not have noticed yet.
Facebook documentation for Graph APIs are bit poor. One that I came across few weeks back was that you could publish pictures by providing a pictures URL.
You can also publish a photo by providing a
urlparam with the photo’s URL.
There is not much documentation after that. If you missed that line, you won’t know - it is not mentioned anywhere else. Posting pictures by providing the URL is a blessing for both the users and the developers.
If you building a cloud service like us, you cannot afford to download the photo from the cloud and upload it to Facebook. It is inefficient and chews up user’s bandwidth. With few pictures, you can probably max out their data for the month. With all the downloading and uploading, at least one of the threads will be working hard and leads to all kinds of lags and instability.
Instead of sending the data, all you have to is to POST with photo’s URL to publish the pictures. Here is an example:
// POST to Graph API endpoint to upload photos
. $album_id . "/photos?"
. "url=" . urlencode($photo_url)
. "&message=" . urlencode($photo_caption)
. "&access_token=" .$access_token;
As a Program Manager / Product Manager, you have to watch out for these things to build better and efficient application. It is a small detail but it would have caused a bad experience for the user. User Experience (UX) is more than UI and IxD.