return all_weibos

		if len(weibos) == 0:
			break
		#text ,
		#	origtext 
		#	count : bei zhuan ci shu,
		#	mcount : dianping times
		for m in weibos:
			all_weibos.append(m['text']+'!!!@#'+m['origtext']+'##!@#'+str(m['count'])+'$$!@#'+str(m['mcount']))
		if hasnext == 0: #has other contents
			last_id = weibos[-1]['id']
			last_page_time = weibos[-1]['timestamp']
		else:
			break
				
	return all_weibos

for user_name in users_dict.keys():
	for friend_name in users_dict[user_name]:
		print 'process user:'******'contents/' + friend_name):
			a = open('contents/' + friend_name, 'w')
			webos = get_weibo_of(friend_name)
			for i in webos:
				a.write(i+'\n')
			a.close()