Social Media Meta Tags
Social Media Meta Tags
Social media meta tags are HTML tags that allow you to make the most out of the content you share from a URL. You can determine what information is displayed from a post in Twitter, Facebook, LinkedIn, Pinterest and beyond. It gives developers control over the experience their content produces, as it shows up on these social networks.
I was looking for a nice Perl module that let me make different types of posts to the main social networks. These networks all have different post types, argument names, etc, and I wanted this functionality encapsulated into something which enabled me to minimise my effort when creating these posts. I couldn't find anything suitable, so I made HTML::SocialMeta.
# summary or featured image card setup
my $social = HTML::SocialMeta->new(
site => '',
site_name => '',
title => '',
description => '',
image => '',
fb_app_id => '',
);url => '', # optional
Summary Card
,--------------------------------------------, | *---------* TITLE | | | | | | | | DESCRIPTION | | *---------* | *--------------------------------------------*
$meta->create('summary');
The Open Graph protocol is Facebook's standard for implementing Social Meta tags, It has also become recognised by all the major social platforms, including LinkedIn, Google+. Whereas Twitter have their own standard.
$meta->opengraph->create_thumbnail;
$meta->twitter->create_summary;
I plan on expanding this module so it also supports Schema.org Rich Snippets and the functionality to create custom Opengraph, meta data. This is my first CPAN submission, so I'd welcome any critique/feedback. Thanks.
Hey Dudes, I know you're all really busy and probably care very little about this module. But I'm a junior developer who really wants to learn and improve. What I was hoping from this post was at least some critical feedback(the more critical the better),
Try http://prepan.org.
BTW, blogs.perl.org administrators, you're re-enabled that bug which auto-expires my session when I click Preview, so I post without proof-reading...
And, hence, my new sig:
my(@satisfaction) = split(/$neck/, $admins_head${neck}body);
Hey Ron, I submitted a post to prepan back on the 12/12/2015 you can find it here... http://prepan.org/module/nY8EjAnEF8c
like many other posts on prepan it has no comments and no feedback. I apologise for my lack of proof reading.
I should add thank you to those that have emailed me some feedback, It's appreciated and I'll take it forward in my next release.
Please could you edit your post so that most of it lies "below the fold"? There are two sections in the edit window that let you write the preamble and then the rest. thanks!