facebook-like

Auto refresh timeline page when like button pressed on application?

谁说胖子不能爱 提交于 2019-12-07 09:03:35
问题 Before timeline was published on pages, when a user pressed the like button on a page, the page refreshed by itself. Now with the timeline enabled if you are to the application and press the right top like button, the page does not refresh by it self and the application does not recognize that the user "liked" the page. Is there a way or an event on how to refresh the page automatically when the user presses the like button? Thanks. 回答1: A bug have been filed at FB, check it out and subscribe

Determine if a user is a Fan of MY page

别说谁变了你拦得住时间么 提交于 2019-12-07 04:07:28
I'd like to determine whether a user is a fan of MY facebook page, without getting any Facebook-connect permissions from them first. Is this possible? No, you must request and be granted access to a user's like data. One caveat to this - if a user has liked your page, this will be passed to any application tab on your page that the user visits. Shawn E Carter 3 ways are available to check if user likes a or your page. ----------edit 11/19/2011 Signed Request - When a user selects your Page Tab, you will receive the signed_request parameter with one additional parameter, page. This parameter

Customize Facebook Like Box With CSS Stopped Working

无人久伴 提交于 2019-12-06 17:37:31
A few months ago, I had successfully customized a facebook like box. All of a sudden, it stopped working -- it is simply ignoring the css file. I'm hoping that someone can see what I'm doing wrong. Here is the complete code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <body> <script type="text/javascript" src="http://static.ak.connect.facebook.com/js/api_lib/v0.4/FeatureLoader.js.php/en_US"></script> <script type="text/javascript">FB.init("426348664054039");</script> <fb

Change the width of the facebook like button

不打扰是莪最后的温柔 提交于 2019-12-06 16:54:44
I need to change the width of the like button in my website. I have changed the width property in the code but it doesn't work. Can anyone suggest a better way? You can visit http://developers.facebook.com/docs/reference/plugins/like/ to create the button of your desired width. You are not allowed to change the width of the button itself, only the container it is in. You are not allowed to overlay any other click-jacking image over the top of the like button either. 来源: https://stackoverflow.com/questions/9581547/change-the-width-of-the-facebook-like-button

Facebook graph api empty data when getting user likes

跟風遠走 提交于 2019-12-06 16:39:57
I'm using a Facebook application that get all user likes in order to check if a given page is liked using https://graph.facebook.com/{USER_ID}/likes?access_token={MY_ACCESS_TOKEN} Everything works fine for me and for the most part of the users, except for some users , that return this: { "data": [ ] } Why does it return an empty data? I already requested the authorization for user_likes in the application Apps only have access to a user's public information. Even with user_likes permission you will get no Likes data from a user that has set their Likes to private. 来源: https://stackoverflow.com

How to “like” a page on Facebook from and Android Application?

房东的猫 提交于 2019-12-06 15:54:48
问题 Hi friends I have an one issue, how to likes a page in Facebook from my application?? I am able to retrieve all the information of Facebook page using page id, also i am able to comment to the page wall, my requirement is that would be able to likes a page in Facebook which i am unable to do..??.I have gone through graph API but unable to find solution..?? I tried this code dialog = ProgressDialog.show(MyApp.this, "", "please wait..", true, true); Bundle params = new Bundle(); mAsyncRunner

Facebook like button is not working

天涯浪子 提交于 2019-12-06 15:39:56
I have 2 sites where Facebook like button is not working: http://www.mantrazdrowia.pl/przepisy/slodkosci/sernik-truskawkowy/ - I would like to like that url (tried to like it even from FB code generator - http://developers.facebook.com/docs/reference/plugins/like/ - no success) despite that its homepage: http://www.mantrazdrowia.pl/ can be liked just fine and same applies here: http://www.shopperhive.co.uk/blog and http://www.shopperhive.co.uk/ any help ? If you go here, you should see list of problems: https://developers.facebook.com/tools/lint/?url=http%3A%2F%2Fwww.mantrazdrowia.pl

ckeck if user like Facebook page or not without request Access Token

安稳与你 提交于 2019-12-06 14:50:10
问题 window.fbAsyncInit = function() { FB.init({ appId : '********', // App ID channelUrl : document.location.protocol + '//connect.facebook.net/en_US/all.js', // Channel File status : true, // check login status cookie : true, // enable cookies to allow the server to access the session xfbml : true // parse XFBML }); var fql_query = "SELECT uid FROM page_fan WHERE page_id = "+page_id+"and uid="+user_id; FB.Data.query(fql_query).wait(function(rows) { if (rows.length == 1 && rows[0].uid == user_id)

Facebook share window when you “Like” a page getting cutoff

两盒软妹~` 提交于 2019-12-06 13:37:17
I am trying to add the FB like to my website. The like seems to work ok. However, when someone clicks the Like button (using Firefox on Mac Lion) a Share box appears which is show cutoff on my page. Ideally I would like the share box to fully appear so that visitors can share their like. If this is not possible then getting rid of the share box all together just leaving the "Like". Here is how it looks: facebook like http://www.sofiaandluis.com/public/facebook_like.png Here is the code: HTML <div class="column-area"> <div class="suscribe-social"> <div class="up make-word-breakable"> <div id=

calculate time difference like facebook messaging system [duplicate]

烂漫一生 提交于 2019-12-06 13:36:02
问题 This question already has answers here : Converting timestamp to time ago in PHP e.g 1 day ago, 2 days ago… (28 answers) Closed 6 years ago . I need to find time difference for like in facebook messages using php. like: 2 weeks ago, 2 hr 30 mins ago, one second ago My time format is "Y-m-d H:i:s" Can Anyone help me with it? 回答1: Store the message created time in database then use below function : function get_time_difference_php($created_time) { date_default_timezone_set('Asia/Calcutta'); /