Fixed code that add facebook photos to db