SN import from timeline, check if there are posting before the foreach loop