code for dev and public testing, added psql table id_url to store fb img url