navmen — 2012-08-14T21:37:24-04:00 — #1
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.
r937 — 2012-08-15T12:43:21-04:00 — #2
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"
navmen — 2012-08-15T16:07:20-04:00 — #3
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>
guelphdad — 2012-08-15T17:19:08-04:00 — #4
Where is your database question though? You've posted in the database forum but have no database question.
r937 — 2012-08-15T17:37:01-04:00 — #5
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
navmen — 2012-08-15T19:57:09-04:00 — #6
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
r937 — 2012-08-15T20:26:19-04:00 — #7
different og: tags?
so, not a database or coldfusion problem, then
mittineague — 2014-09-20T03:03:40-04:00 — #8
This topic is now archived. It is frozen and cannot be changed in any way.