To avoid upload weibo when post.pid was undefined.