Is it possible to edit a photo caption after it has been uploaded to facebook? - facebook

Is it possible to edit a photo or a video caption and description after it was uploaded to facebook using the GraphAPI?
what I mean is can you upload the video using your own application and some time afterwards the application updates the caption?

Yes, using the Graph API, just HTTP POST to the {photoId} with the updated parameters in the form post. Play with that functionality here: http://developers.facebook.com/tools/explorer?method=GET&path=me

Related

Facebook API share a Facebook Video in post

I'm trying to post on a users' wall through the Facebook Opengraph API and the PHP SDK.
All is working fine - except the video I'm attempting to include in the post (hosted on Facebook videos) is failing to show up on the wall/timeline of the user being posted to.
I'm setting the URL to the video as the 'source' value in the $attachment data sent to /me/feed. Also setting 'type' to video.
On the wall I get a placeholder thumbnail and the rest of the post as specified.
Any ideas?
Thanks,
Steve
You should be able to link to the video as a link. For other types of shared content, you should check out: https://developers.facebook.com/docs/guides/attachments/. Let me know if this isn't what you were trying to do.

Facebook Feed Dialog with a video already uploaded in facebook

I'm trying to do a Feed Dialog in Facebook with a video already uploaded in Facebook.
First, I tried putting in the 'source' param the URL of the video, extracting it with the json return by Graph Api. However, Facebook doesn´t support their own media URLs in this way.
My intention is to show the same effect when you click in "Share" in any video in you facebook profile, but I don't know how i can refer the video.
I don't find anything in the Facebook's developers documentation.
Try linking to the video page itself, like how you link to YouTube if you want to share a video. Facebook renders the YouTube player in the wall when you do this, so in theory it should do the same when you share a Facebook Video URL.
I've just found the option: "Embed this Video" . In the code that Facebook gives in this option, I can find the URL for the video (www.facebook.com/v/video_id), and this works fine in the feed dialog.
The problem was the URL given in the JSON.
Thanks

app upload picture to specific album without posting on page wall

How to post a picture to a specific album in page from app without posting the image on page wall? Currently I can post picture to a specific album, but I don't want to see that on page wall becouse the app will post a lot of pictures. So how that is possible?
This is an example of app that uploads generated picture to specific album but dosn't publish it on its wall, I'm trying to do the same.
http://www.facebook.com/MercedesBenz?sk=app_318742408161371
Yes this is possible by providing no_story parameter equal to 1 while uploading photo.
POST https://graph.facebook.com/ALBUM_ID/photos?no_story=1
This information once was documented for photo object, but not anymore exists in current documentation.
This is described in Developer Blog post: Suppressing auto-generated feed stories when uploading photos

Facebook JS SDK - Post an image to someone's wall and make it open in the Gallery Lightbox

To be clear, I know how to post an image to a user's wall using FB.ui, but what I would like to know, is if it's possible to make that thumbnail in the post open up the image using the Facebook Gallery Lightbox, just like any pictures you see from your friends, etc. Currently I can only make the thumbnail link to either my app or directly to the image.
No, you can't do that: the gallery lightbox access is not exposed in any way that you can change in a wall post.

Facebook Connect for iPhone: How to upload an image (UIImage) to user's wall without having to use json-embedded link or photos.upload?

Is there any way to upload an image (UIImage) directly from an iPhone app to a user's wall/feed?
All the samples I see are either using a json-embedded link or they use the photos.upload call with album ID (aid) which results in the user getting the image in his photo album(s).
What I want to do is to upload an (UI)Image created (by the user) inside an iPhone app and upload to his/her wall. Is this possible? Sample code would be highly appreciated.
This isn't possible. To understand why, you have to consider the conceptual model that Facebook currently uses: Posts on a user's wall are just bits of text optionally attached to some link URL. That link URL can be some random image on the web, or it can just as well be an image that the user already has in their photo albums.
But a wall post cannot inherently "contain" an image in and of itself. Therefore you need to host the image somewhere, be it on your own site, or on Facebook itself, inside one of the user's albums by uploading it first to there.
I'm trying to figure out the same thing myself. One thing I did find out is that if you post the "Wall Photos" album they do get posted to the wall. However you only have a wall photos album if you've uploaded photos to your wall from your profile page before. And even then, you need to get the album aid and then post to it.
EDIT
Found a much better solution. First upload the photo to your default album, then make a post to the wall with the link to your photo that was returned when uploading (not a link to the image but the page the image is on).