This is the case, if we can track the images that we upload to the facebook page in order to known who download the images and located maybe the IP or the user profile.
You'd need to create a custom Facebook application that grabs user information based on the Facebook open graph for this. Users will have to allow your application to access their data first though. there is no way to track user information simply by uploading a photo on your wall/photo albums
Related
Consider an application with a messaging/commenting widget. When a user posts, his/her social media profile picture is used if they've given the app authorization etc. How is it that other users can also view that same profile picture? Even at a later date?
Would I store the users social media id in a database and call the picture for other users that way? Do social media sites allow you to use basic information like profile pictures and first name etc without an actual authorization from the user once you've got the id? Or are sites saving the images and data on their own servers for later representation?
Twitter profile pictures are just images stored on a public server; the images themselves can be retrieved regardless of whether or not you're logged in to Twitter.
Once your user allows you to access their Twitter profile, grab the URL for the image and store it in a database. Then, when you want to display the image, call it with the image URL just like you would any other image in a web application.
I am trying to make a facebook photo contest app. Users can upload an image via the app and it goes on their wall and into an album automatically created for my app. However I cannot find any way using the graph api to get the array of uploaded images for all users. Is this possible? I thought...
$facebook->api("/$app_id/photos?access_token=$app_long_life_access_token");
would work but it returns an empty array.
The photos are uploaded using...
$facebook->api($this->app_id . '/photos', 'post', $args);
I can access a single image using its id and the app's token but this will require looping through every single image id to get the details.
In order to access a users photo album (even if it was created by your application), you'll need a valid user access token. It's their album after all. If a user changes their password or even uninstalls your application, you will no longer have access to their content.
To keep track of all these photo's you'll have to monitor each upload and store it (in your database for example).
Facebook doesn't usually allow you to collect masses of data in this way. You will have to query each individual user or photo to get this info if you don't store it in some other method.
Is it possible and legal for a website to download and store photos from a Facebook album?
This the process that I'mtrying to achieve from my website.
A user browses to my website
My website uses the Facebook SDK to display the user's Facebook photos
The user selects photos
My website physically downloads those selected photos and stores them on the server that the website is hosted on.
I need to download these photos so that other users can see them.
It's technically possible if you ask for the correct permissions when you authenticate.
Facebook allows you to download user data (including photos) for purposes of caching.
There are a lot of responsibilities that come along with being able to download user data and rather than trust my interpretation, you should really read the Facebook Policy yourself.
I am currently developing a site for models/actors, and at this point I am just trying to ascertain what I can and can't do with Facebook Connect (I have virtually no experience in using Facebook Connect or FQL).
Basically there is going to be a facility whereby users will be able to upload their pictures. I want to know is it possible to use Facebook Connect to get the user's photo albums, in order to save the user from re-uploading all the photo's that are already on FB?
If so, do I/should I LINK to these photos, or FETCH them from Facebook and save a copy on my server?
EDIT: Just to clarify, this is what I want to do:
User will register on my site and agree to associate their Facebook ID with my site.
I then want to present the user with a list of all their albums that are on Facebook, the user can then select which albums they want to display on my site.
(optional) The user can select which specific photos in each album they want to display on my site.
Is this possible to do at all?
You can upload photos using the API. Check out this: http://developers.facebook.com/docs/reference/api/photo
If it were me, I would just upload the photo to Facebook and save the URL of the image rather than store it on my own server. You could do either one, but I don't see the sense is storing the image twice. The one issue could be if you wanted your photo at a higher quality than Facebook allows, but their quality is pretty high.
Does anyone know if Facebook Permissions will allow an app to display a photo of one app user to another, regardless of privacy settings?
I want to save photo id's to a database and then display many different users photos at once, to the user, within the app.
I could use fbml but am hoping to use xfbml.
Any suggestions would be much appreciated!
Facebook API restrictions are going to be exactly the same as the authenticated user ( assuming they grant you sufficient access). So if a user has access to photo's in another users gallery, you can display them. If they don't, you cannot.
However, if you save the Photo ID of a users picture, then want to display it to a different user later on, who does not have implicit rights to view that photo, they will not be able to see it.
Your app would be best served by taking a copy of the shared photo, which would take Facebook permissions completely out of the equation.