I am trying to dynamically create facebook like/send button while looping through a Coldfusion query. Although the loop is creating the fb:like tag correctly when I look at the source code, when I click on the send button I get different results for each one even though they should be the same. Do I have to create new forms with dynamic og tags? Any help would be appreciated. I want it working similar to how you would like a dynamically created blog post for each entry.
you know how on some forums they say "pics or it didn't happen"
well, here, it's "code or we can't help you"
Sorry, here is basically what it is doing. It is creating dynamic fb:like tags with PromoID. The other problem is I would like to to show a dynamic logo and description as well. Do/Can I dynamically create og meta tags for each one?
<fb:like href="http://www.searchit.com/sp/main/CouponViewAll.cfm?PromoID=#CouponID#" layout="button_count" send="true" width="300" show_faces="false"></fb:like>
Where is your database question though? You've posted in the database forum but have no database question.
this is correct --
if this is correctly generating a link for each coupon id that is returned by the query, then you can easily add other data returned by the query
could we see the CFQUERY for getFeaturedPromotions please
I figured it out. I have to make the facebook tag href point to a .htm file with different og: tags. Kind of a crappy design on Facebook's part. Thanks
different og: tags?
so, not a database or coldfusion problem, then
This topic is now archived. It is frozen and cannot be changed in any way.