facebook-like

Meta Tags In Body

本秂侑毒 提交于 2019-12-12 10:46:17
问题 I am trying to get my like button on my website www.nacts.com.au to add to the ones on our Facebook page but receive this message: You have tags ouside of your . This is either because your was malformed and they fell lower in the parse tree, or you accidentally put your Open Graph tags in the wrong place. Either way you need to fix it before the tags are usable. But it is actually placed like this under PHP <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR

How to remove already generated script tag and re-generate?

笑着哭i 提交于 2019-12-12 10:04:14
问题 I am facing a critical problem. I have a page that has two parts. On the first part of the page, the html is rendered through an ajax request. And on the second page, the html is rendered on page load. Fist part of the page is handled separately having different pagination script. Pagination is also handled by sending ajax request to the same url. I have a problem with part one. The script that generates the html for part one is also generating a lot of javascript tags and html using

How to check if a Facebook user liked an FB page from an external website

喜欢而已 提交于 2019-12-12 09:02:48
问题 I have a web page which displays Facebook LIKE Box.. I need to check if a user liked my Facebook page or not and present contents to them accordingly.. doing Facebook authentication for this from my external web page is perfectly fine.. 回答1: You need to use the Graph API with and check the User's likes. Here is an example. https://graph.facebook.com/{USER_ID}/likes/{PAGE_ID} If the user likes the page in question, it will return JSON looking like this if the user likes the page. { "data": [ {

Facebook Like Button renders 1000px*1000px after pressing Back on Browser on Chrome and blocks page content

只愿长相守 提交于 2019-12-12 08:51:41
问题 I implemented html5 version of the like button on the header of my page. once i navigate to another page and press the back button on the browser the FB button renders the iframe the size of 1000px * 1000px and masks the page content. any solutions for this ? is this a known issue? 回答1: I can confirm this is happening for myself as well across multiple sites. Facebook is aware of the issue which may take some time to fix according to https://developers.facebook.com/x/bugs/663421210369743/ In

30 Facebook Like buttons on a page overburden the web browser?

北城以北 提交于 2019-12-12 08:10:15
问题 On a page that contains a list of about 30 entries, each of them is Facebook-likable (each entry's HTML contains a Like button), and each of them is either displayed or not (depends on a filter setting): The page takes several seconds to load entirely The page uses lots of memory, thanks to the Like buttons The page uses CPU even if the user doesn't interact (every 100ms or less, one of the Like buttons fires an event using Javascript) If I do not change the DOM tree, just change element

FB Like button shows up only once - on first load of my AngularJS view

99封情书 提交于 2019-12-12 07:58:39
问题 I am trying to place the FB like button on my single page site built on Angular JS. The like button has to be displayed on a view (different than the index.html) displayed by a controller. But the like button shows up only for the first time I load that particular view. The button do not show up if I come back after visiting another view. Below is the code which loads FB SDK in the controller for the view - (function (d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d

List facebook likes underneath every url

佐手、 提交于 2019-12-12 06:53:55
问题 I was trying to find the best way to count number of likes for a facebook page url and after googling a lot and playing with the code, i have a code like the one given below. It outputs the likes, name of the page and then the link. I wish to know: 1. How can i use the html tag to convert the link into hyperlink so that I can have something like "Click here to visit" 2. How can monitor performance of 25+ fb_id on an hourly basis with a sorted order (descending) on likes <?php $fb_id =

implement facebook like button

我怕爱的太早我们不能终老 提交于 2019-12-12 06:22:05
问题 I created an android app to show comments of certain post from facebook . what I want to do is to implement the like button. I have all the necessary data (facebook token, user id, app id etc.) and permission i need from the user. circle number 1 is the content of the comment circle number 2 is the name if the user circle number 3 is the like button that i want to implement circle number 4 is the time that the comment sent I use this link to get the comments: https://graph.facebook.com

How can I store the number of facebook Likes of a particular url in my own database?

試著忘記壹切 提交于 2019-12-12 05:39:12
问题 Lets say I am having 5 news articles on my website and 2 registered users. Each news article is having an FB like button. I want to insert the username and article name in my own database whenever the user likes one of the articles. How can this be done? If it would have been a normal submit button (instead of FB like button) then i would have simply added an onclick event to call a javascript function which in turn sends an ajax request to a php file which inserts the row in the database

Facebook Video Like Button Help?

落花浮王杯 提交于 2019-12-12 05:38:34
问题 So I posted a video on my Facebook profile wall. It has a few Likes. I want to take that video, and post it on my personal website with a Like button. Is that possible? If it is, would Liking the video on my website, and Liking the video on my profile do the same thing? (Or would they be two separate Like counters?) Thanks. 回答1: When you upload a video from your Facebook page or your profile that video gets " Like button " included. It is not possible to add one more like button inside that