facebook-like

Facebook share link without JavaScript

好久不见. 提交于 2019-12-17 17:19:10
问题 The following link is for sharing a page on Twitter: http://twitter.com/share Is there a similar option for Facebook that doesn't require JavaScript? I know about http://facebook.com/sharer.php, but that requires a get parameter to be inserted manually (which I'm not going to do), or with JavaScript (which doesn't fit my situation). 回答1: You could use <a href="https://www.facebook.com/sharer/sharer.php?u=#url" target="_blank">Share</a> Currently there is no sharing option without passing

How to check IF user has ALREADY liked the facebook page?

╄→гoц情女王★ 提交于 2019-12-17 16:28:32
问题 I have a like button on my website (which is for users to like the fb fan page). If the user clicks like, I check to see if the even has been fired (event subscribe), and then display some content to them. What I would really appreciate help with is the following: If the user is logged in to facebook AND they already like the page, I want it to display "You're already a fan!" and show the content. (rather than displaying the greyed out like button) OR If the user is not logged in to facebook

Facebook “like” data structure

a 夏天 提交于 2019-12-17 15:28:40
问题 I've been wondering how facebook manages the database design for all the different things that you can "like". If there is only one thing to like, this is simple, just a foreign key to what you like and a foreign key to who you are. But there must be hundreds of different tables that you can "like" on facebook. How do they store the likes? 回答1: If you want to represent this sort of structure in a relational database, then you need to use a hierarchy normally referred to as table inheritance.

How to list facebook users who like a page or interest [duplicate]

≡放荡痞女 提交于 2019-12-17 06:39:22
问题 This question already has answers here : Closed 6 years ago . Possible Duplicate: Retrieve Facebook Fan Names I wanna get a list of facebook users who like a page or interest. FQL like ' SELECT user_id FROM like WHERE object_id=113970468613229 ' does not work. Is there a way to do this? 回答1: I am Partner Engineer at Facebook so I thought I'd chime in here. The Facebook APIs will not give you the user ID of users who have liked a page or interest, this is to guard the privacy of those users.

Like button in iOS application

孤街浪徒 提交于 2019-12-17 06:31:44
问题 Does anybody know how to place Facebook "like" button into iOS application? I've tried the method described in this blog post. But I do not really like this method, because its ugly Login dialog. And, what is more important, it makes user login twice. For example, user wants post a message to his wall if he isn't logged in I call standard FBLoginDialog, after that user posted a message he may want push "like" button and he have to login again - it is really bad user experience. How to be? How

Is there an API to force Facebook to scrape a page again?

谁都会走 提交于 2019-12-17 04:14:59
问题 I'm aware you can force update a page's cache by entering the URL on Facebook's debugger tool while been logged in as admin for that app/page: https://developers.facebook.com/tools/debug But what I need is a way to automatically call an API endpoint or something from our internal app whenever somebody from our Sales department updates the main image of one of our pages . It is not an option to ask thousands of sales people to login as an admin and manually update a page's cache whenever they

How to get share counts using graph API

天大地大妈咪最大 提交于 2019-12-17 01:18:34
问题 I can get the share count of an URL using PHP SDK and using the deprecated rest API, but didn't find a way to get the share counts of an URL using graph API. Is there any way to find out? 回答1: Here's a list of API links to get your stats: Facebook: https://api.facebook.com/method/links.getStats?urls=%%URL%%&format=json Reddit:http://buttons.reddit.com/button_info.json?url=%%URL%% LinkedIn: http://www.linkedin.com/countserv/count/share?url=%%URL%%&format=json Digg: http://widgets.digg.com

How to create a Facebook Like with a post/comment box

我与影子孤独终老i 提交于 2019-12-14 03:26:22
问题 I am attempting to add a Facebook like button with a comment box to a site. When you click the like button you will be like the Facebook page itself, that is, Facebook.com/thesitesname . Where can I find a good starter example that will allow this to work? I am getting the like button but no comment box... <div id="fb-root"></div> <script> (function (d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d.createElement(s); js.id = id; js.src = "/

Facebook fan page going immediately to wall after like, used to go back to the app

痞子三分冷 提交于 2019-12-14 01:27:01
问题 I use fan gates on a lot of different fan pages. The idea has always been you land on the page and see a like us to gain something after clicking like the page reloads and now the user sees the content behind the fan gate. I noticed today that after liking a page it immediately goes to the wall, is this a bug? Is this feature deprecated? I don't have much wall activity on my pages, I'd rather users see our portfolio or special deals. 回答1: This is a bug on facebook right now, described here -

When using the “like” social plugin, can I get the like message to display in the same way as the object preview in the Open Graph dashboard?

孤者浪人 提交于 2019-12-13 18:10:38
问题 I have a music app that I developed using HTML5's canvas. As different songs are selected, I have jquery that dynamically updates the URL in the browser to point to the correct song. I also have jquery that updates fb:like element. By using the debugging tool, I'm able to cache the pages (since my server is able to return correct meta-data for each URL provided). When I do this and like something on my website, I end up with a message saying "Sami liked a page." with some info underneath.