Modify the photo description using Facebook Graph API - facebook

I'm able to publish a photo with description on Facebook using Graph API.
But, i figured out that i can't delete it using Graph API, as of now. But, is there any way to modify the description of the existing photo?
I tried many API calls, but no success yet. Is this achievable or so far, such functionality doesn't exist?
Thank You

We can delete the photos that are uploaded via our APP. we can use the ID of photo to delete it.

Related

How to get videos uploaded by user using Facebook Graph API?

I'm developing an application to show videos and images from facebook by using the Graph API. I've followed the Graph API document and able to show all images. But in the case of videos I'm getting only the videos where the user is tagged-in.
I need to get the user uploaded videos too.
How can I get the videos?
The Graph explorer link : https://developers.facebook.com/tools/explorer/APP_ID/?method=GET&path=me%2Fvideos&version=v2.3&
After some changes in the Graph API calls I've found the solution.
https://developers.facebook.com/tools/explorer?method=GET&path=USER_ID%2Fvideos%2Fuploaded&version=v2.3&
This'll help us to get all the uploaded videos.Where USER_ID is the id of the user who's signed in.
/me/videos should return all videos, tagged and uploaded. You can restrict to one or the other by using the type parameter: /me/videos?type=uploaded

how to get music.listens data using FQL

I want to integrate spotify data to my application which is posted in Facebook.
I am tried that using Graph API Explorer by https://developers.facebook.com/tools/explorer?method=GET&path=me%2Fmusic.listens.
In order to get the brief information about individual music it takes too long time..
So can anyone help to continue this functionality in FQL..
Regards
Rajapandi
AFAIK you can't do this using FQL.
You need to use the Graph API and have the user_actions.music and friends_actions.music permissions.
Then you can do - graph.facebook.com/USER_ID/music.listens?access_token=

How to update Cover Photo to any registered facebook app user using Facebook PHP API?

Is there any way to add Facebook Cover Photo to the user profile using PHP API.
I tried, but I can only upload the image to user album or photos section. I cant able to update the my app register user cover photo.
How could I do this. Help me.
Thanks in advance
Actually it's not possible directly via Graph API

How to share feed into the Facebook using GraphAPI?

I am working on Facebook app and wanted to add Share functionality so how I can do share functionality using Facebook graph API?
By the poor way, you can use the Like Button to the desired URL, but with the label "Recomend".
The better way is to develop the application with some Authorization to post inside the user's feed. By this way, you can use the Graph API to post inside user's feed.
If both ways are too time-expensive for you, try to use ShareThis.

Can I upload photos but not post to wall in Facebook?

Can I upload photos using Facebook API but not post to wall in Facebook?
What I use is the photos.upload in the API.
If it cannot be avoided, is there any way to delete that wall post so that I don't have to do it manually?
Documentation of graph API (http://developers.facebook.com/docs/reference/api/photo/) mentions the following:
If you would like to suppress the
story that is automatically generated
in the user's feed when you publish a
photo (usually because you plan on
generating your own), you can add a
no_story=1 parameter. In this case,
the user will receive a notification
that your application has uploaded a
photo.
Adding the same parameter to the legacy REST API seems to work for me
Let me answer my own question:
It's about the permission problem. We can set the permission so that the photos do not publish to wall.