merged last inserted id for social posts