Added code to facebook api helper to save photo data to db