added sample for the getActivityStream API