Jump to content

  • Log in with Facebook Log in with Twitter Log In with Google      Sign In   
  • Create Account

Subscribe to HRA Now!

 



Are you a Google Analytics enthusiast?

Share and download Custom Google Analytics Reports, dashboards and advanced segments--for FREE! 

 



 

 www.CustomReportSharing.com 

From the folks who brought you High Rankings!



Photo
- - - - -

Facebook Send Button Goes Away [not Visable On Page]with A Dynamic Url


  • Please log in to reply
No replies to this topic

#1 DJKay

DJKay

    HR 5

  • Active Members
  • PipPipPipPipPip
  • 355 posts

Posted 15 July 2011 - 08:50 AM

Hello,

I have a question regarding the facebook send button

URL to page being tested: www.mydomain.com/article.cfm?id=3302

The button disappears using the following dynamic url:


CODE
<div id="fb-root"></div><script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script><fb:like href="http://www.mydomain.com/article.cfm?id=<cfoutput>#w_q_article.iArticleID#</cfoutput>" send="true" width="450" show_faces="true" font=""></fb:like>


When the URL is hard coded it shows up

CODE
<div id="fb-root"></div><script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script><fb:like href="http://wispubs.com" send="true" width="450" show_faces="true" font=""></fb:like>





I also tried to make the URL with CF and then output it within the href:

CODE
<cfset #dyurl# = "http://www.mydomain.com/article.cfm?id="&#w_q_article.iArticleID#>

<div id="fbcon" style="position:relative;bottom:18px;">
<div id="fb-root"></div><script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script><fb:like href="<cfoutput> #dyurl# </cfoutput>" send="true" width="450" show_faces="true" font=""></fb:like>
</div><!--end fbcon -->



Please let me know if you have any insight. Thanks




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

SPAM FREE FORUM!
 
If you are just registering to spam,
don't bother. You will be wasting your
time as your spam will never see the
light of day!