facebook-like

Can't get “count” in “likes” and “comments” fields using my own registered app's access_token

大城市里の小女人 提交于 2019-12-05 16:43:34
Main Question: When I sent a GET request to retrieve data of someID/POSTS, like https://graph.facebook.com/microsoft/posts?fields=comments,likes&limit=1&access_token= , cannot get the "count" in "likes" and "comments" fields using the access token generated by my own facebook registered app, but can get the expected data if using the access token from Facebook Sample apps, e.g. " HelloFacebookSample ". This issue occurs on both Android and FB Graph API Exploer. Also in oder to troubleshoot the possible causes, I used the exactly same codes as FB sample under my registered app_id, but the same

facebook iframe App: Send/Like button z-index issue

混江龙づ霸主 提交于 2019-12-05 08:49:07
We are having a problem with our facebook like/send button, if you open: http://apps.facebook.com/bymii-test/products.php?pageid=216605071714962&prd_id=35&prd_name=Coalesce : - click facebook send, the box is behind the facebook sidebar. Is there any way to: change the z-index - or to make the window pop up on the left? I FINALLY FOUND THE ANSWER!! 1 1/2 Hours searching later.. just enter this code into your CSS file: .fb_edge_widget_with_comment span.fb_edge_comment_widget { top: 15px !important; left: -250px !important;} Hope this is what you were looking for, because it was exactly what I

Why are some friends' likes unavailable through the Graph API or FQL?

拈花ヽ惹草 提交于 2019-12-05 04:40:16
问题 I have some friends whose likes I can see if I look at their timelines. However, I can't access those likes using the Graph API. I'm returned an empty set when I run: https://graph.facebook.com/DAT_USER_ID/likes?access_token=DAT_ACCESS_TOKEN or https://graph.facebook.com/fql?q=SELECT url FROM url_like WHERE user_id=DAT_USER_ID&access_token=DAT_ACCESS_TOKEN I do have the friends_likes permission granted. I created a Facebook bug report here: http://developers.facebook.com/bugs/112253515590244

Cannot make comments from facebook like button

扶醉桌前 提交于 2019-12-04 22:52:33
问题 I get the like button code from https://developers.facebook.com/docs/reference/plugins/like/, and on my page, the like button is rendered correctly...at least it looks like so :P But when I click on the like button, the comment dialog appear and disappear immediately, and the button becomes a Confirm link; then I click on the like, a popup window ask me to confirm to like it...then, when I back to my page, I can see the comment dialog. But whatever I input, after I clicked on the Post button,

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

♀尐吖头ヾ 提交于 2019-12-04 21:02:42
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.request("PAGE_ID/likes",params,"POST",new UploadListener(), null); public class UploadListener implements

Facebook like button not displaying in FancyBox?

倖福魔咒の 提交于 2019-12-04 20:22:34
I have applied the Facebook like button on a page where I am displaying all the post from my WordPress admin. I applied the Facebook like button code, and it is working fine here, but when user clicks on the post, that post is getting open in FancyBox where I am applying the Facebook like button , but the Facebook like button is not getting created there. How can I do this? This is the code I am using to create the Facebook like button at both places: <div id="fb-root"></div> <script> (function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d

How to “Like” facebook content externally

泪湿孤枕 提交于 2019-12-04 20:21:57
问题 So I have been playing around with the facebook like button but I have run into a problem. I have a facebook page about some charity work I'm doing here: http://www.facebook.com/Adam.Holmes.Climbs.Kilimanjaro. I also have a web page that has pretty much the same information on it. Within this web page I have a facebook like button so that users can like the page as seen here: http://developers.facebook.com/docs/reference/plugins/like/. Now my issue is with a seperate button. Within the

like android application page in facebook from application itself

女生的网名这么多〃 提交于 2019-12-04 19:48:10
Is it possible that a user using android application can like that application page created in Facebook from application itself? Yes. Just create a Layout with a WebView Like <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="fill_parent" android:orientation="vertical"> <WebView android:id="@+id/webview" android:layout_width="fill_parent" android:layout_height="fill_parent" /> </LinearLayout> Create a activity Like.class WebView webview; Then add the following at the end of

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

别来无恙 提交于 2019-12-04 18:53:40
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) { console.log("LIKE"); $('#container_like').show(); } else { console.log("NO LIKEY"); $('#container

FB iframe tab - hide/alter contents if page is not “liked”

徘徊边缘 提交于 2019-12-04 18:17:44
How is this done? I've seen some iframe content which was either hidden - in which case a graphic pointing up and saying something to the effect of "like us..." - or an offer - for example a discount available to the viewer if the page is "liked". I've dug around for this, but haven't had any luck. It's been done, but I didn't have the foresight to note which FB pages were doing it.... argh! You will need a Facebook application in order to achieve this. Once you have set that up, create your page and when the page loads, the user will need to authorise your application so that you can get