Message alert in Facebook developer page that my site is currently using the following deprecated features:
Social Plugins (Like Button, Like Box) without absolute URL's in their
href
parameter. This must be fixed before July 2013.
I'm guessing it's talking about the data-href parameter for likes, but my like buttons are being generated with the following simple code:
data-href="http://<?php echo $_SERVER["HTTP_HOST"].$_SERVER["REQUEST_URI"];?>"
And the results when viewed in the browser (looking at the HTML source) certainly look like absolute URLs to me. What is this alert actually trying to tell me? That they've scanned the site and that there are actual HREFs that have problems, or just that there might be some?
Is it referring to some other HREF parameter?
href
parameter is a part of the like button developers.facebook.com/docs/reference/plugins/like and other social plugins . The parameter is listed in the current docs ashref
notdata-href
, did that change or are you referring to a different parameter? I also had the same warning , double checked the code , and have enabled the changes to no ill effects. – Skiff<div class="fb-like" data-href="http://www.example.com/" data-send="true" data-width="450" data-show-faces="true"></div>
– Gauteahref
value is optional, but if supplied has to be absolute? The wording really isn't very clear in the Facebook documentation. – Lifeless