0
請耐心等待,我買了一個「現成的」應用程序分類應用程序在經典ASP編寫。Facebook Like按鈕上不同.asp「Item」頁
我在學習代碼的同時完全重新設計了它自己。
我現在想讓Facebook Like按鈕變成「Like」個別項目。下面的代碼是實際的喜歡按鈕的代碼
<iframe src="//www.facebook.com/plugins/like.php?href=www.worthingads.com/Classifieds/CPViewItem.asp?ID=<%=request("ID")%>&send=false&layout=button_count&width=450&show_faces=false&action=like&colorscheme=light&font&height=35" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:450px; height:35px;" allowTransparency="true"></iframe>
我有「替換」的ASP頁面的功能如下
sTemp = Replace(sTemp, "%TITLE%", sItemTitle)
sTemp = Replace(sTemp, "%IMAGE%", sImage)
sTemp = Replace(sTemp, "%DESCRIPTION%", sCadDescription)
sTemp = Replace(sTemp, "%URL%", sURL)
和我有元OG上的HTML模板(圍繞該ASP如下
<meta property="og:title" content="%TITLE%"/>
<meta property="og:type" content="ARTICLE"/>
<meta property="og:url" content="%URL%"/>
<meta property="og:image" content="%IMAGE%"/>
<meta property="og:site_name" content="WorthingAds.com"/>
<meta property="og:description" content="%DESCRIPTION%"/>
如果我放置的TITLE%%「佔位符」到HTML頁面,它會顯示該項目的名稱等等,但是,一旦該項目被喜歡的網頁,Facebook並沒有展示項目公關操作細節如果有意義?
謝謝巴里 - 我會做但不知道結果是什麼意思大聲笑 – 2011-12-17 14:45:48