facebook-like

Comment pop up disappears and a “confirm” button appears instead when using facebook like button

本小妞迷上赌 提交于 2019-12-09 15:34:38
问题 I'm trying to include a facebook like button in my wordpress blog with the correspondent opengraph tags to show an image, description, etc. While I was testing it (liking and unliking a lot to check results), after clicking the like button, the comment pop up blinked and then out of the blue a "confirm" link appeared. This is so annoying. I've later researched the issue (after banging my head for a big big while) just to find out it seems to be part of a fb policy applied to suspicious sites

Facebook edge.create event not firing on like box

▼魔方 西西 提交于 2019-12-09 12:42:43
问题 I had a page with a simple Facebook like button and I needed to know when the user liked the page so I used the edge.create event to do this which all worked fine. I now need to add a like Box plugin to the page to like the client's facebook page and again I need to be notified when someone clicks the like button. However, the subscribe event never fires. Any idea what might be the problem? I am using the xfbml code to add the like box. 回答1: It appears to be a bug. Here's a link to official

Link web page, Facebook Like button, and Facebook fan page?

早过忘川 提交于 2019-12-09 11:28:06
问题 Is this possible? When someone clicks a Facebook Like button, he/she shares the web page URL with friends on Facebook. With the same click, the user also becomes a fan of the web site's Facebook fan page. Thanks! 回答1: See this link on Facebook's developer site. This will do all the points 1 and 3 you mentioned above. As far as point 2 goes, you will need to reference that on your facebook page. 回答2: While adding a Like button on your website to like you "Facebook Page" is possible (and I

Facebook 'like' referral clicks adding variables; not recognising the page linked as the page liked

三世轮回 提交于 2019-12-09 10:50:02
问题 So i have a site, Let's call it foo.com and all of the pages have the Like Button plugin on it (same code rehashed on each page) so I 'like' http://foo.com Posts on my wall with a link, all fine and dandy I do the same with my Projects page - http://foo.com/projects It says in the info when you like it (the drop down that happens as you click like,) that they have 'liked' http://foo.com/projects . All is good; However the actual link on Facebook is : http://foo.com/projects?fb_action_ids

Is there a simple Facebook “Like” or share URL?

大兔子大兔子 提交于 2019-12-09 06:05:35
问题 Is there a simple URL string that Facebook will accept to "like" a site... or more accurately ( as a commenter points out below ), share a site? As a comparison, Twitter allows you to post from any page simply by pointing an anchor at a customized URL... like this: <a href="https://twitter.com/share?text=Check%20out%20this%20site:&url=http://example.com">Tweet this!</a> I can't seem to find anything in the Facebook documentation. 回答1: Not exactly an answer, but close enough for me: http://www

How to count likes on FB page?

和自甴很熟 提交于 2019-12-09 03:23:14
问题 I have to do a very simple operation but my programming skills are not enough. I have to count likes in Facebook page and print that number on my web-site. I have two scripts that do the job well for ordinary web-sites, but they don't want to show the number of likes for the page. <?php $source_url = "http://www.facebook.com/"; //This could be anything URL source including stripslashes($_POST['url']) $url = "http://api.facebook.com/restserver.php?method=links.getStats&urls=".urlencode($source

Facebook Error (#200) The user hasn't authorized the application to perform this action (PHP)

廉价感情. 提交于 2019-12-08 15:44:33
I am posting on facebook profile, pages and groups using my webapp.since morning it showing error "Exception occured, code: 200 with message: (#200) The user hasn't authorized the application to perform this action". I added all permissions required for posting. $loginUrl = $helper->getLoginUrl( ["public_profile", "user_groups","publish_actions","email","user_location","user_photos", "user_likes","manage_pages","user_birthday","user_status","read_stream"] ); $requestPage = new FacebookRequest($session, 'GET', 'post_on_page_id?fields=access_token'); $responsePage = $requestPage->execute();

User must like page before viewing

删除回忆录丶 提交于 2019-12-08 15:35:04
问题 I have struggled with this for quite some time now but figured I would revisit the issue. My goal is to do the same type of thing This facebook page is doing https://www.facebook.com/JimBeam?sk=app_140011936063255 They have made it so that the user must click the like button before reviewing the content. My normal procedure is to build a welcome.HTML page, create a new app on fb, then assign page to the correct business. My question is if I designed a new html page, let's call it pre-like

How to add custom image to each of the multiple facebook share buttons? I have multiple share buttons in single page

核能气质少年 提交于 2019-12-08 12:47:50
问题 I have tried og:image meta tag as given here https://developers.facebook.com/docs/plugins/like-button. This seem to support one image for one page, and facebook seem to be assuming that you need one share button in one html page. Also, a similar looking question - Multiple Facebook, Twitter share buttons in one page with custom image and title does not answer custom image to each of the multiple share buttons in page. Here's how I'm adding og:image for each insertion. Below snippet is in the

Liking a Photo using FB API and JQuery

回眸只為那壹抹淺笑 提交于 2019-12-08 12:46:27
问题 I am having a problem trying to 'like' a photo using JQuery. I've tried .post, .ajax, and now using the FB.api post. When I run the script I don't even get the error messages. This is what I have as a function when the 'like' button is clicked: function like(postId) { FB.api('/'+postId+'/likes', 'post', function(result) { if (!result) { alert('Error: No Response'); } else if (result.error) { alert('Error: '+result.error.message+''); } else { if (result==true) { $('#likeButton-'+postId).hide()