Added shorturl to blog posts and fixed logic in detecting tweet customizations based on page and post