@Override
	public List<String> listByUserId(String userId, int num, String token) throws WeiboException {
		Timeline timeLine = new Timeline();
		timeLine.setToken(token);
		
		// 设置返回的页数和每一页的数量
		Paging page = new Paging();
		page.setPage(1);
		page.setCount(num);
		
		// 获取微博
		StatusWapper wapper = timeLine.getUserTimelineByUid(userId, page, 0, 0);
		if (null == wapper || 0 == wapper.getTotalNumber()) {
			return null;
		}
		ArrayList<String> ids = new ArrayList<String>();
		for (Status status : wapper.getStatuses()) {
			ids.add(status.getId());
			System.out.println(status.getId());
		}
		return ids;
	}