Anyone needs to insert Facebook comments on each blog post and each photo page. But Facebook comments needs data-href (required).
How to get this data-href="{$url}" for each blog post and each photo page, given the fact that the photo page uses AJAX-navigation and a link is required to update dynamically for each one?