Log in

View Full Version : Function to fetch thread url in vb 3.8.7


mr1dul
01-28-2012, 10:14 AM
Hi.. i want to start Facebook Comment Box in threads and facebook gives the following code to implement on the pages..


<div class="fb-comments" data-href="http://example.com" data-num-posts="2" data-width="470"></div>

Now... in place of http://example.com in the above code... i want to fetch the thread URL of thread where this code is placed.

So I need the php function to call the thread URL on which the code is placed.

thanks in advance