Is it possible for a Facebook App to submit a photo (with user's permission) as a profile photo?
Yes see here it even contains sample PHP code to get you started
Related
Is there a way to upload photos to my existing facebook album with the javascript SDK without any authorization ? For example, I know my facebook ID and the image URL what I want to upload.
Without authorization you cant upload images to an facebook album.
Take a look at this answer:
Facebook Graph API - upload photo using javascript on stackoverflow
So, the photo upload with the PHP SDK to Facebook works.
But when the user uploads it in one of the his own albums, he first have to go to Facebook and press allow, only then the photo will be displayed on Facebook.
Is there a way to make sure it goes in one step (upload photo), instead of 2 (1. upload photo, 2. allow photo)?
I am using the following permissions:
-> publish_stream,
-> photo_upload.
And the setFileUpload is on true.
I hope you can help me, so there won't be angry users because they think the uploading doesn't work..
OK, this was figured out in the comments, a photo uploaded via the API needing to be confirmed usually means one of two things:
You don't have the user_photos permission
You are uploading to an album with more open visibility than what the user has chosen for your app - e.g. if the user selected 'Friends' as the maximum visibility for the app, and you try to upload to an existing album which is visible publicly, the user needs to approve each photo because otherwise you'd be overriding their selected privacy for the app
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
Hello I am using Twit Pic in my app.I want to upload selected photo to facebook also ..How could I do this.If I upload then how to know user is logged in at fb?
You could try a framework such as ShareKit to facilitate sharing the image on facebook.
I don't think there is a way to tell if the user is logged in without requesting permission to access her account, perhaps via the Facebook sdk.
I want to use profile picture of friends in my iphone app,ya facebook provides fbconnect for iphone but is possible to get profile pictures of all friends later used in my iphone app
Yes you can get images
Please check facebook api
Just pass the appropriate parameters to you query and get the response