Facebook app caught using iPhone’s camera due to a ‘bug’