Facebook Like Checks


Facebook Like Checks

Download

Facebook Like Checks

We promote your facebook page in various blogs, website and larger social media groups. $(document).ready(function(){ FB.getLoginStatus(function(response) { if (response.status == 'connected') { var userid = response.authResponse.userID; var pageid = "40796308305"; //coca cola var fqlquery = "SELECT uid FROM pagefan WHERE pageid =" + pageid + " and uid=" + userid; var thequery = FB.Data.query(fqlquery); thequery.wait(function(rows) { if (rows.length == 1 && rows[0].uid == userid) { $("#containerlike").show(); //here you could also do some ajax and get the content for a "liker" instead of simply showing a hidden div in the page. No matter if you simply want to boost your Facebook account, we offer customized plans for everybody. Full Control Your page will be promoted in Facebook and related display networks. And for the show and hide stuff you could use something like : document.getElementById("containerlike").style.display = "none" or "block" and for more reliable cross browser techniques see here : But jQuery is so easy :) UPDATE Relatively to the comment I posted here below here is some ruby code to decode the "signedrequest" that facebook POST to your CANVAS URL when it fetches it for display inside facebook. BackSign UpCreate a Page for a celebrity, band or business.English (US)NederlandsFryskPolskiTrkeDeutschFranais (France)EspaolPortugus (Brasil)ItalianoSign UpLog InMessengerFacebook LiteMobileFind FriendsPeoplePagesPlacesGamesLocationsCelebritiesMarketplaceGroupsRecipesSportsLookMomentsInstagramLocalAboutCreate AdCreate PageDevelopersCareersPrivacyCookiesAd ChoicesTermsHelpSettingsActivity Log Facebook 2018. –Modatheus Jun 6 '11 at 10:30 It doesnt work in a iframe app –dwarfy Jun 11 '11 at 7:20 add a comment protected by Communityf Mar 31 '12 at 0:15 Thank you for your interest in this question. ToolsGraph API ExplorerOpen Graph DebuggerObject BrowserJavaScript Test ConsoleAPI Upgrade ToolFacebook Analytics. Embed Statistics Facebook Like Checker embed option lets you embed your Facebook Page statistics to your website as an iframe, the embedded iframe will show a table of countries along with its number of likes for your Facebook Page, updated and directly taken from Facebook API. Affordable for everyone No matter if you simply want to boost your Facebook page, we offer customized plans for everybody. Refer to Response and Sessions Object section for info on how this might save query to FB server. People Talking About This Showing countries with the highest engagments (Weekly Report) # Country No. In your action controller : decodedrequest = Canvas.parsesignedrequest(params[:signedrequest]) And then its a matter of checking the decoded request and display one page or another . The app should first show an image and if the user likes the page, he will get access to some content. See photos and updates from friends in News Feed. Here is my iFrame HTML when the user has not liked the page: body { width:520px; margin:0; padding:0; border:0; font-family: verdana; background:url(repeat.png) repeat; margin-bottom:10px; } p, h1 {width:450px; margin-left:50px; color:#FFF;} p {font-size:11px;} And, if the user has liked the page: body { width:520px; margin:0; padding:0; border:0; font-family: verdana; background:url(repeat.png) repeat; margin-bottom:10px; } p, h1 {width:450px; margin-left:50px; color:#FFF;} p {font-size:11px;} You liked this page javascript jquery ruby-on-rails ruby-on-rails-3 facebook shareimprove this question edited Jun 10 '11 at 18:19 Christian Fazzini 11.5k1484181 asked Jun 5 '11 at 22:54 Rails beginner 5,40125105225 Can you use the FB JS API ? –dwarfy Jun 9 '11 at 15:51 Yes i know th FB JS SDK - But i dont know how to use it –Rails beginner Jun 9 '11 at 21:05 2 other questions before I give it a shot : Is it really sensitive information ? Because one approach involve showing one div with js if the user like the page and showing another div if the user don't like the page (both divs being hidden in the page at start) so somebody could unhide them with firebug or something else and see your content. What makes the Mauritius Passport so valuable? Nullity and rank of a linear transformation over a function space What is the mistake in "There are many Danes who speak English"? How to change the sub-tags of Equations and the cross-references accordingly? Shader that is only visible when the face normal points up Can the Scrum method be used with only one person and only one 10 day Sprint? How to speed up composting of large amounts of leaves inside plastic bags? Is Sam Gamgee an orphan? United Airlines joined my first name and middle name on boarding pass. Find more of what you're looking for with Facebook Search. Likes-Growth.com is a customized Facebook Marketing service. What you need is just tell us your Facebook page link and your budget. } else { $("#containernotlike").show(); //and here you could get the content for a non liker in ajax. Non-fans will see this content. ProductsFacebook LoginSharing on FacebookGamesFacebook App Ads. Likes-Growth.com is a customized Facebook Marketing service. With Likes-Growth.com you can grow your fanbase organically without spending hours on Marketing! Gain real fans on Facebook, and increase your social awareness. WE WILL NEVER ASK FOR, OR NEED YOUR PASSWORD. Stack Overflow works best with JavaScript enabled .. Join Stack Overflow to learn, share knowledge, and build your career. –Kenneth Jun 16 '11 at 5:25 1 mani I, for one, am glad you posted this solution! While it may not have answered rails beginner's exact question it's the perfect solution for my problem having landed here from a Google SERP. shareimprove this answer edited Jul 26 '12 at 5:34 bkaid 40.8k1395117 answered Jun 5 '11 at 23:01 Modatheus 171 But FBML is deprecated –Rails beginner Jun 5 '11 at 23:02 I have tryed it does not work –Rails beginner Jun 6 '11 at 0:41 Ah, then you need to do it through iFrame or Fan Gate when you created you site. Facebook Like Checker Check Facebook page likes country-wise Facebook User ID Search For Pages Analyze Back Search Total Likes Talking About This Category Page ID No Data For Likes Country-Wise There is not enough data in Facebook API for this page yet. } else { $("#containernotlike").show(); //and here you could get the content for a non liker in ajax. Learn more, including about available controls: Cookies Policy.FacebookEmail or PhonePasswordForgot account? Connect with friends and theworld around you on Facebook. Also what JS library do you use I'm a jquery'ist so can I use jquery ? –dwarfy Jun 10 '11 at 5:57 I am also using Jquery –Rails beginner Jun 10 '11 at 7:54 add a comment 6 Answers 6 active oldest votes up vote 80 down vote accepted +50 UPDATE 21/11/2012 ALL : I have updated the example so that it works better and takes into accounts remarks from Chris Jacob and FB Best practices, have a look of working example here Hi So as promised here is my answer using only javascript : The content of the BODY of the page : FB.init({ appId : 'YOUR APP ID', status : true, cookie : true, xfbml : true }); YOU DONT LIKE YOU LIKE The CSS : body { width:520px; margin:0; padding:0; border:0; font-family: verdana; background:url(repeat.png) repeat; margin-bottom:10px; } p, h1 {width:450px; margin-left:50px; color:#FFF;} p {font-size:11px;} #containernotlike, #containerlike { } And finally the javascript : $(document).ready(function(){ FB.login(function(response) { if (response.session) { var userid = response.session.uid; var pageid = "40796308305"; //coca cola var fqlquery = "SELECT uid FROM pagefan WHERE pageid = "+pageid+"and uid="+userid; var thequery = FB.Data.query(fqlquery); thequery.wait(function(rows) { if (rows.length == 1 && rows[0].uid == userid) { $("#containerlike").show(); //here you could also do some ajax and get the content for a "liker" instead of simply showing a hidden div in the page 5a02188284

apps for scheduling facebook posts
facebook approve timeline
como acessar o chat do facebook no ipad
how to disable facebook app notifications
facebook php sdk app_data
how do i enable chat on facebook
coderdojo waterford facebook
can you search for a closed group on facebook
cool text writing for facebook
good sad quotes for facebook status

Yorum Yaz
Arkadaşların Burada !
Arkadaşların Burada !