facebook - Insert rails values into Open Graph meta tags -
I am trying to supply Facebook information through the OpenGraph API, but I do not have the following Can be found to use # {} in double quotation marks when I look at the output HTML, instead of inserting rail values, is seen below.
& lt; Meta property = "og: title" content = "# {[miniature.name.html_safe, @ user.name]. ('By')} /> META property = "OG: url" content = "# {request.original_url}" /> & lt; Meta property = "OG: image" content = "# {@ Try collection.photo.url (: thumb)} "/>
:
& meta property = "OG: title" content = "& lt;% = [@ miniature.name.html_safe, user.name] .join ('by') % & Gt; "/> & lt; Meta Property =" Og: Type "content =" website "/> & lt; Meta Q Palti = "ogg: url" content = "<% = request.original_url%>" /> & lt; meta property = "og: image" content = " / />
Comments
Post a Comment