facebook-like

How to like a Facebook page on android?

社会主义新天地 提交于 2020-01-03 06:21:08
问题 I have managed to "Like" a non-Facebook webpage, but when I try Liking a Facebook one, using OpenGraph, I get: Like actions are not yet supported against objects of this type. Is there any way to like a Facebook page using the Android Facebook SDK, not using a WebView ? 回答1: You can't directly like page. You will have to show that page in webView or native app. Then user will have to press like manually... It works like this to prevent manipulations on Fb counters. 回答2: I assumes you have

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

∥☆過路亽.° 提交于 2020-01-03 03:21:11
问题 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

Facebook like button for a facebook status

送分小仙女□ 提交于 2020-01-02 09:56:38
问题 I've pulled some facebook statusses to my website and I would like to add a like-button to them. I can't seem to use the facebook like button generator. When trowing a url like this: http://www.facebook.com/permalink.php?story_fbid=268577716517595&id=224519707563955 in the facebook url linter tool it sais it can't crawl itself. Is there a way to fix this like-button? A way of custom coding a facebook like button? or is the only solution to redirect to this url?(Not an great option, i want the

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

亡梦爱人 提交于 2020-01-02 09:27:22
问题 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

Facebook Like button does not work on one website?

一世执手 提交于 2020-01-01 17:56:07
问题 I work with hundreds of websites and only 1 isn't working. All share the same code base. I am not sure what is going on. I think it is on Facebook's end but that can't be right can it? Both use the same code, both are hosted by the same server, both send the same request out. Individually they get different responses. The website that isn't working is sending back this response. for (;;);{"__ar":1,"payload":null,"jsmods":{"require":[["Plugin","disconnect",[],["http:\/\/mklimages.com\/"]]]}}

Render 'like' button after ajax call

你离开我真会死。 提交于 2019-12-31 08:52:09
问题 there were a few question similar to mine on the stack but none that answered my question, so... An ajax call returns the standard html code for creating the like button: <div class="fb-like" data-href="http://www.website.com" data-send="true" data-width="450" data-show-faces="true"></div> This html does show up in the source when looked at with 'inspect element', but it is not rendered, i.e. the space where the button should be is blank. Is there some rendering function that I should be

How to get Facebook likes count for a Facebook page?

こ雲淡風輕ζ 提交于 2019-12-30 05:21:11
问题 I am making GET request to Facebook graph API like: https://graph.facebook.com/Yahoo?fields=likes It is returning the likes count even if I am not logged in. But for URLs like: https://graph.facebook.com/CaraSutrasPage?fields=likes I am NOT getting the Facebook likes when I am not logged-in. The reason here is, this Facebook page is age-restricted. From this question, I tried including the User access_token like: https://graph.facebook.com/CaraSutrasPage?fields=likes&access_token=CAAGRLGYz..

Is there a way to embed <script> content into a Doxygen \mainpage section?

ⅰ亾dé卋堺 提交于 2019-12-30 05:09:45
问题 I would like to introduce some javascript <script>xxx</script> content into my generated index.html in order to add reddit and facebook "like" buttons to my project's main page. Is there a way to accomplish this automatically using Doxygen? Thanks, SetJmp 回答1: You can use @mainpage in combination with an @htmlonly...@endhtmlonly block. Here is an example: /** @mainpage My Script Page Here is an embedded script: @htmlonly <script type="text/javascript"> function displayDate() { document

Right align Facebook like button

 ̄綄美尐妖づ 提交于 2019-12-30 01:42:05
问题 I am able to put a Facebook like button on my website, but how do I make it to be right-aligned within the div / iframe it is in? I tried applying various CSS properties, but I could not get anything to move in the iframe. 回答1: iframe is an inline element, you can use text-align: right for a div that contains that iframe, or float the iframe to the right, but just make sure to clear the float afterwards. sample: http://jsfiddle.net/Mujj6/3/ and: http://jsfiddle.net/Mujj6/5/ 回答2: I think this

Lots of XFBML Facebook Like buttons are slow?

青春壹個敷衍的年華 提交于 2019-12-29 11:40:12
问题 See http://running.ph/ It just hangs chrome for a while, while all the buttons load. I've read using IFrame avoids this but I really want to use XFBML JS for all the extra functionality you get with it like tracking Likes, comments, and the send button. Does anyone have a solution to this? I'm sure I'm not the only site with 10+ Like buttons on it. 回答1: ah I found the answer by checking what Techcrunch / AOL does. You load the XFBML as the user scrolls. 1.) Don't Parse XFBML on FB.init or the