English 中文(简体)
我喜欢Button,许多页像纽顿法典一样。
原标题:I like Button - many pages same like button code

Hello I had created a facebook page for a company. I get the FB like button code. The problem that I find is when someone clicks on this button if this user is not on the main page (/index.php) then my facebook like counter (from the facebook page) doesn t count. I give an example. Lets say that the user when to the home /index.php he makes click on the button I like, then my facebook page count people who said I like +1. But if he goes to some article /article1.php and click there my FB page counter doesn t count +1, how can I solve this problem? because I don t want an static URL pointing always to index.php.

非常感谢。

问题回答

一种可能发生的事情是,手法可能会使用像URL这样一页的“URL”。 例如,主页/索引。 php可能与实际面纱相连接。 但是,正用面写成1.php而不是/指数。 php,将其计算为2个单独的网页。

解决这一问题的一个途径可能是确保所有各州都使用相同的法典,并且总是有作为《欧洲刑法》规定的指数.php。

The disadvantage to this is, the counts will not reflect the actual likes to the pages, but will be to the site as a whole.

采用全程代码的一种方法,甚至可以具体指明URL,是使用以下网页:http://developers.book.face.com/docs/fer/plugins/ similar/





相关问题
C# Building An Array with Button Entries

I have a set of buttons that I want to add into an array so that they are ordered. The buttons I have are: Monday0700Button Monday0730Button Monday0800Button Monday0830Button and so on. How do I ...

Text in disabled and css styled button shows movement in IE

I have disabled and css styled buttons. In Firefox, disabled buttons do not move at all when pressed (which is what is expected), in IE, the text in the buttons still moves a few pixels. Why does ...

Where is Button.DialogResult in WPF?

In System.Windows.Forms.Button there is a property DialogResult, where is this property in the System.Windows.Controls.Button (WPF)?

How to create a submit button template in Oracle APEX?

I m trying to create a template for a button in Oracle APEX but I don t seem to have access to the appropriate substitution strings to make it work. For non-templated buttons APEX seems to insert a ...

Removing text from HTML buttons on all browsers?

We have buttons of many sizes and colors that use background images. There is a label on the background image itself, but we need to keep the button s text in the HTML for usability/accessibility. How ...

Back button loop with IFRAMES

In my (school) website we use Iframes to display class blogs (on blogger). This works well EXCEPT if the user then clicks on (say) a photo inside the iframe. Blogger (in this case) then displays the ...

ruby on rails on click events

I am so sorry if this question seems too easy but I can t seem to find it anywhere. I am creating a ruby in steel project. I have created a html.erb and rb file in a vs project (ruby on rails). My ...

热门标签