forum

home / developersection / forums / geting current page url in mvc

Geting current page url in mvc

Anonymous User 1909 08-Oct-2014

I am using the Facebook comments plugin on a blog I am building. It has some FBXML tags that are interpreted by the facebook javascript that is referenced on the page.

This all works fine, but I have to pass in the current, fully-qualified URL to the plugin.

<div style="width: 900px; margin: auto;">
    <div id="fb-root"></div>
    <fb:comments href="URL HERE" num_posts="10" width="900"></fb:comments>
</div>


Updated on 08-Oct-2014

I am a content writter !

Can you answer this question?

Answer

1 Answers

Liked By