For questions involving the social networking service Facebook

learn more… | top users | synonyms

13
votes
5answers
4k views

Is it possible to pull comments from facebook into your blog?

I have a client who wants to be able to share his latest blog posts on Facebook (no problem there) but then he wants the comments made on his Facebook page to that share shown on his blog as part of ...
12
votes
8answers
61k views

How can I control the Facebook like image? [closed]

I have a blog with some posts, and each post has a embedded Facebook like button. Pressing the button opens a dialog so my visitors can share the post on Facebook with a comment. When sharing, ...
7
votes
3answers
7k views

How can I auto-add my posts to my site's Facebook fan page?

My readers are telling me to manually add my posts to my fan page, but I'm trying to reduce steps and keep from forgetting. Anyone know how I can automate this?
5
votes
2answers
787 views

A plugin where users can comment with Facebook or Twitter or OpenID [closed]

Is there any plugin where users can comment with Facebook or Twitter or OpenID...
5
votes
2answers
2k views

Experiences with compiling WordPress using Hip Hop?

What are you experiences compiling Wordpress using Hip Hop? ( https://github.com/facebook/hiphop-php/wiki/running-hiphop ) Specific: is this maintainable with upgrades? is the performance ...
4
votes
2answers
166 views

If your blog was an app on Facebook

If you were to turn your blog into a Facebook app, what features would it have? What would the UI look like? What are the significant dealbreakers you'd need to satisfy to extend your blog to a ...
3
votes
4answers
905 views

Facebook comments box on front page

I have a WordPress 3.5.1 installation on my WordPress Shack, with the Facebook plugin 1.3.1 installed and the TwentyTwelve 1.1 theme. I have the settings on Facebook - Comments box so that I display ...
3
votes
2answers
2k views

Facebook OAuth, WP_Http::request() vs wp_remote_request()

Running WordPress 3.3.2 and PHP Version 5.2.17 I'm trying to get the access_token from Facebook using wp_remote_request() and Facebook OAuth API (btw, working example at the end of this entry). Is ...
3
votes
3answers
6k views

Facebook Comment Count

I am a bit of an amateur when it comes to PHP and WordPress but I have rigged up the following code: function fb_comment_count($url = 'some url here') { $filecontent = file_get_contents('https://...
3
votes
1answer
45 views

Wordpress 4.4 release produce blank white images when sharing a post on Facebook etc

After upgrading to 4.4, when I share a post via URL to Facebook, G+, the "Featured Image" shows as a blank white image on the Facebook post. Looks fine on the Wordpress site. Some testing shows that ...
3
votes
4answers
480 views

Installing Facebook comment plug in without loosing all previous wordpress comments?

I'm trying to install Facebook comments onto a word press blog, but I do not want to loose all the previous comments. I'm curious if anyone has any ideas how to do this. I've looked at a lot of the ...
3
votes
1answer
235 views

Is there a filter to define the OG image on a given post?

I am looking for a filter to define what image on a post sets the facebook OG image. In my case I have the image I want to use in a post meta field. I have looked around but am unsure of the best way ...
3
votes
0answers
2k views

Automatically Facebook Debug Posts on Publish

I am looking to do something similar to this plugin which adds an "FB-Debugger" link on the admin of pages/posts: http://xlino.com/projects/facebook-debug-link-wordpress-plugin/ However, I'd like to ...
2
votes
6answers
65k views

Facebook sharing link is not showing a thumbnail of the images within the post?

Usually facebook share gets an image from the site to post and shows it as thumbnails. If you press the share this on facebook link in my test page it doesn't. This is my test site: http://alexchen....
2
votes
4answers
10k views

Get FaceBook Friend Count [closed]

Is there a simple PHP or Javascript method of getting the total number of FaceBook friends? Twitter makes it super easy to do that, and I need to do the same for one of my WordPress installs.
2
votes
2answers
7k views

sharing video on facebook from wordpress

When a user tries to share a page with an embedded video on it only the title of the pages shows up on their facebook status and not the flash video player. This happens while sharing with the ...
2
votes
2answers
2k views

Adding a “most liked post” box, based on facebook ranking?

I would like to have a list of my most liked posts from facebook, and place it in the sidebar. Is there a way for doing it? (and if so, how?)
2
votes
2answers
962 views

Top 3 posts in last week ordered by Facebook and Twitter share counts

I am interested in displaying the top 3 stories in the past week based on the total number of shares on Facebook and Twitter. I have found that these share counts are more useful indications of what ...
2
votes
1answer
2k views

Open graph metadata isn't pulled on Facebook until after I run that specific link through the debugger

I added open graph meta data to all the posts on a site, however, when I attempt to paste a post link on Facebook, the graph meta information isn't loaded. Then, when I insert the URL into the ...
2
votes
2answers
2k views

Displaying additional User Contact Information

I have been advised how to add additional contact info fields to the User admin area here (Click here). However, I am not entirely sure how I can display the the field contents in a link within my ...
2
votes
1answer
1k views

Facebook Like Button On Individual Comments

Has anyone added this kind of functionality to a WP site before? I'm looking to add Facebook Like button to individual comments. This can be a Theme function or a plugin
2
votes
2answers
428 views

Should I store my Facebook access tokens?

I've built a custom login page for a Wordpress site which uses Facebook for authentication. Is there any reason to store the Facebook access token in my WP database, or does it make more sense to use ...
2
votes
1answer
94 views

How to get wordpress link to fully evaluate when coming from facebook

The short version: Any link from Facebook to a page stops evaluating at the "hardcoded page" in the wordpress press install, ignoring the remaining parts of the URL. It doesn't allow the shortcode ...
2
votes
2answers
172 views

Is it possible to integrate Wordpress *posts* and social media (Facebook, Google+, Twitter)? [closed]

Is there a plugin available that will automatically post an excerpt of a blog post (perhaps up to the more tag) to specified social media groups/pages. So, for example, on posting an excerpt would be ...
2
votes
1answer
3k views

facebook like - image display and description

i have some difficulties with the new Facebook like feature. usually, each one of my blog post has an image in it. when i use the facebook share feature everything is going well: it lets me choose as ...
2
votes
1answer
1k views

Custom Connect to Facebook, problem logging in/logging out

I am working on a custom function for login in my users via facebook. I started by reading this nice tutorial on how to login in via facebook: http://digitalzoomstudio.net/2013/02/09/tutorial-how-to-...
2
votes
2answers
365 views

Publish a message on facebook after having posted a comment

I would like some advice on how to improve the code I use for allowing people to comment posts. Users can only submit a comment if they are connected with Facebook. I started developping this feature ...
2
votes
1answer
2k views

How to get user-meta from Social Login registered users?

It looks like social login plugins (such as Wordpress Social Login, OneAll etc.) do not create users in the original wp-database as regular registration from Admin dashboard. Hence it is not possible ...
2
votes
2answers
655 views

Conditionally loading Facebook PHP SDK in shortcode

Since 3.3 we can enqueue scripts conditionally right in our shortcode functions, but when I tried to do this with some PHP class (uses session_start() in the __construct() function) as you can guess ...
2
votes
1answer
2k views

Is it possible a one click user registration with Facebook or Twitter (or other Social Networks)?

Would it be possible to create a wp user by signin up with Facebook connect? (And through Twitter app, and eventually other major social networks? Facebook is most important, then Twitter, the rest ...
2
votes
1answer
681 views

Shortcode in AJAX popup

I am trying to use a shortcode from Ultimate Facebook plugin to display a FB connect button in an AJAX popup and can't seem to get it work properly. I searched and used the solution given by djb in ...
2
votes
2answers
3k views

Which social connect plugin do you recommend? [closed]

I'm searching a social connect plugin which allows users to register/login using the following sites and support MULTISITE 1)Facebook 2)Twitter 3)Google 4)Yahoo 5)Others (optional) I've tried many ...
1
vote
6answers
3k views

W3 Cache plugin and Facebook sharing [closed]

LATEST UPDATE (June 13th 2012) I can't figure out what's wrong with my codes. When I want to share one of my blog posts and use either the Facebook share button or copy the link of the blog post ...
1
vote
2answers
527 views

Wordpress Post featured image URL in the header

I want to add the featured image URL of a post to the header. When a Facebook user shares a Wordpress page, this code in the header: The rel="image_src" attribute is what facebook is searching for. &...
1
vote
4answers
5k views

Accessing the Current URL in a Text Widget for a Facebook Share Button?

I'm creating a "Share this Page"- widget that needs to grab the current URL and append it to a Facebook URL like this: http://www.facebook.com/sharer.php?u=http://myurl.com/a-specific-page I'm ...
1
vote
1answer
136 views

How to generate “og:image” meta for Facebook sharing when the image in the post is not featured?

I have a piece of code in my website's header.php that can generate og:image meta data for FB sharing. It works perfectly when the given post has a featured image. <?php $fb_image = ...
1
vote
4answers
2k views

a plugin to share a post to social networks via admin? [closed]

I'm not looking for a share this post button for the front end. I've seen a couple of similar topics here but not exactly what I'm after. What I would like is a plugin which offers the options in ...
1
vote
1answer
2k views

Open graph problem: Showing wrong description of homepage while sharing on Facebook [closed]

Check out this URL: http://developers.facebook.com/tools/debug/og/object?q=www.linuxstall.com Everything is fine except the last line which is Note: "Reference in Perl" is the most recent post at ...
1
vote
3answers
47 views

How do I remove all hyperlinks that begin with a #?

Facebook's Instant Articles rejects articles that contain hyperlinks to the current page (e.g. <a href="#_ftn1">[1]</a>). How can I filter the post content to remove these links before ...
1
vote
1answer
2k views

Facebook Like Button in Jetpack [closed]

I'd like to have a Facebook Like Button (not a Facebook share, which is available) through Jetpack. There is a "Add a new service" and I've tried various parts of code from all over but always gets an ...
1
vote
3answers
1k views

Multiple social buttons with a fast loading? [closed]

I have pages like this with a lot of social buttons. A lot means more than 50 buttons because each posts on that page has its own buttons. So maybe I'll make the page smaller, with less posts but ...
1
vote
1answer
4k views

How can I post Facebook fan page status updates to my WordPress blog?

Is it possible to get an RSS feed of Facebook status updates from a Page rather than a Profile? I want to use the feed in WP's RSS feed widget. It's easy to pull statuses from a profile page. I did ...
1
vote
1answer
326 views

Simple plugins to post info about new blog entries?

I am looking for some plugins that would automatically post information about new blog entries (posts) to my facebook/google+ pages. But - simple search through plugins listing shows that such ...
1
vote
1answer
1k views

Facebook like button that redirects?

Basically, here is an idea: I am starting a daily blog, and in order to gain access to sunday's posts, the user needs to share the site. I have figured out how to redirect once someone presses the +1 ...
1
vote
1answer
300 views

Wordpress Social Login > Post to a users Facebook wall

I'm trying to post to a currently logged in Facebook user's wall/timeline. I found this on the plugin authors github documentation: http://miled.github.io/wordpress-social-login/developer-api-apis....
1
vote
1answer
6k views

Set Custom Post feature image as og:image

I am trying to set the Featured image as the og:image I have tried various ways and plugins (Yoast) but finding it hard to get my head around this. The issue is that it isn't picking up the feature ...
1
vote
1answer
395 views

Trigger a function immeditely after a user posted a comment

I want to trigger a function immidiately after a user posted a comment on a post. I want to read from session data, find the user ID and look his facebook_id if he/she has any. Then i will post the ...
1
vote
1answer
75 views

Facebook plugin shows existing comments

Installed the official facebook plugin and seems to be working. The problem is that existing comments are still visible (with default style) above facebook comments form. My comments.php is empty now ...
1
vote
2answers
152 views

Hiding styles from Facebook

Some of my pages/posts have very short custom stylesheets at the beginning of them. I know this isn't great practice, but it's worked very well thus far. The problem, however, is linking on Facebook: ...
1
vote
2answers
203 views

Sync comment data

I have a site that used Facebook comments for a period of time and then removed them for native WP comments. I was able to write a function that grabbed all the comments and re-inserted them into the ...