For questions involving the social networking service Facebook

learn more… | top users | synonyms

-1
votes
0answers
18 views

question over the counter share [on hold]

I need to bring in the category for each record number of share facebook I put this code: <?php function getFacebookDetails($url){ $rest_url = ...
1
vote
3answers
39 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 ...
0
votes
0answers
22 views

How to share a video from wp to Facebook?

I have embedded a YouTube video in a post on my WP site. When I want to share it on Facebook - only the headline shows up in the sharing box. How do I share the video and enable it to be plaid on ...
0
votes
1answer
26 views

How to make picture appear on wordpress site shared link? [closed]

I would like to know how to make a piture appear on the thumbnail to the left of the text when I share a link of my wordpress on facebook. I dont post any images to the website, but would still like ...
0
votes
4answers
52 views

What can I do if I set a gif as featured image? no thumbnail when i share on facebook

My website it's for sharing content with front end post and users can post images/gifs/youtube , if a user(or me) post a gif it's directly set it to featured image and when I try to share that post it ...
0
votes
0answers
24 views

Facebook sharing scraper grabs different data on different servers for same site

-- Update 04/29/2016 -- It turns out the URL was being redirected if it ended in a set of numbers, but only if there were no letters within the set of numbers, and only when Facebook was scraping the ...
-2
votes
1answer
44 views

True or False: Is an Apache error or PHP error the same as a WordPress error?

I am using CentOS 6; Apache 2.2.2; MySQL 5.6; PHP 5.5.31; WordPress 3.8.13 . I do not have root access to this server because it is shared. I do have FTP and SSH (with some limits to functionality). ...
1
vote
1answer
60 views

Get User's Facebook Photos as Wordpress Upload

I am new and a bit of troublesome on how Wordpress work as I have plan to use it as CMS for my commercial website. I have been figuring out on how to make an image that I have retrieved from user's ...
1
vote
0answers
27 views

how to build this site on wordpress currently on ruby on rails? [closed]

I need a similar site functionality in WordPress/PHP. But this site is on Ruby on Rails. It's about females posting their success story(like tweet) by login from facebook http://www.ladybrag.com/ ...
1
vote
1answer
75 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 = ...
0
votes
0answers
15 views

Getting autoset_featured image to jive with Facebook SDK

I'm trying to set up the Facebook SDK on a site where I'm auto-fetching the first image in the article to become the "featured-image". I would like that auto-fetched image to also be the og:image, but ...
0
votes
1answer
100 views

WP REST API - log in with Facebook

We're developing a mobile application for a web site that uses Wordpress and exposes a REST API through the WP REST API plugin. We have very little prior experience with Wordpress. One of the ...
0
votes
0answers
19 views

Adding Facebook & Twitter Cards

This might be a stupid question.. But I'm working on a website for which I would to integrate twitter/facebook cards and things of that nature. Is there a good way to call those <meta> tags into ...
3
votes
1answer
39 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 ...
-2
votes
1answer
42 views

Sort wordpress posts by facebook likes [closed]

I found a theme that I really like: http://pluto.pinsupreme.com/masonry-compact-facebook As you can see every post has Facebook likes displayed in the exerpt. I would like to know if it would be ...
0
votes
0answers
59 views

Embedding Facebook in blog post not working

there once was this feature of embedding Facebook status posts simply by entering the URL see here or here (edited: apparently I misunderstood the content of that blog post). So now I am trying to ...
0
votes
0answers
18 views

Add facebook pixel code on default search page

Am trying to add Facebook pixel code on the default search page so I can track what users search. But I do not know where to find this default search template. Is it possible to do it via theme ...
1
vote
0answers
52 views

How can I echo og:video url, if the post has video content?

I would like to something simular solution like is_home() for videos. If the post has video content, the php script write out the og video url (start with https of course). In my example I imagine ...
0
votes
0answers
41 views

Add comment box in a pop-up?

I'm developing a WordPress site and I view the posts in a pop-up div, so I want to add the comment box in the pop-up div as well. I've already tried to do it with Facebook comments, but the problem is ...
0
votes
0answers
54 views

Website not showing the updated content while visiting through facebook/twitter in-app browser

Website (http://www.gsacademicreflections.com/) not showing the updated content while visiting through facebook/twitter in-app browser. The website developed in WordPress and consists of ...
0
votes
0answers
15 views

How to show online status icon like facebook [duplicate]

I want to show 'user now currently online' status icon like 'Facebook' after user name. How it possible?
-1
votes
1answer
281 views

Facebook Pixel + WooCommerce + AJAX = Confusion

I am trying to add a Facebook Pixel (tracking) to the WooCommerce Add to Cart button, using: <script> fbq('track', 'AddToCart'); </script> The problem is that when a user clicks on Add ...
0
votes
0answers
52 views

How to make Facebook share the featuterd image from url on Wordpress

I use this function to add the featured image from url on wordpress "Is it possible set a featured image with external image URL", but when i share the post on Facebook, Facebook doesn't grab the ...
0
votes
1answer
56 views

Featured Image and Facebook

So I've got a problem. My single post page has a full screen image with an H1 over it for the title. That image is brought in using the featured image. However, when posting this blog post to say ...
1
vote
1answer
80 views

Disqus Comments donot appear below the WordPress post [closed]

I a have fully working WordPress website built using ColorMag theme. In order to integrate Facebook Comments, I added Facebook Comment Plugin. I disabled default WP comments. Later when I added Disqus ...
0
votes
1answer
167 views

Post image lacking when pasting link into Facebook despite the correct og:image meta tag

Within head tags of this post page (sorry there's a language selection prompt screen), Yoast SEO Plugin generates this: <meta ...
0
votes
1answer
98 views

No post image when pasting link into Facebook

This thread's solution proposes to add an absolute link to the post image within head tags so that, when pasting post URL into Facebook, the post image appears on Facebook. However this is laborious ...
0
votes
0answers
32 views

shortcode in facebook / twitter

I'm using a plugin List category posts which allows you to use a shortcode to display a list of posts by their category inside of a page (Example: [catlist name="etc" numberposts=25]). However, when ...
1
vote
0answers
144 views

fb share site shows blank image

I am using Jetpack and even though when I see page source of my front page I can see the section of <!-- Jetpack Open Graph Tags --> <meta property="og:image" ...
0
votes
3answers
79 views

Facebook like update status for wordpress

I am new to wordpress and i am learning a lot. But i am making this intranet site and i need to make a form just like Facebook's update status where my logged in users will need to update their status ...
0
votes
1answer
62 views

Allow Facebook to preview posts before published

I want to allow Facebook (user agent facebookexternalhit) to access scheduled posts before they're published, so it can access meta information in order to schedule a status. Currently I temporarily ...
0
votes
1answer
175 views

How to import facebook comments to Wordpress database?

I want to get rid of Facebook Comments from my website, but I have a lot of comments there. Is it possible to import facebook comments to normal Wordpress comments system or something else (i.e. ...
0
votes
0answers
164 views

Import facebook feed as a post in wordpress with 100,000 of posts

I need to import facebook feed of one of my facebook pages as posts to wordpress site using facebook graphic API. For this purpose I am fetching the json file with all the posts from facebook in it ...
1
vote
3answers
548 views

Facebook / LinkedIn share page - https opengraph issues

I have added the Open Graph meta data to my functions.php: function insert_fb_in_head() { global $post; if ( !is_singular()) return; echo '<meta property="fb:admins" ...
0
votes
1answer
167 views

Facebook share thumbnail not showing until refreshed

When I FB Share any post only thing that appears is text and no thumbnail like this: I need to close this window and retry sharing few times (or just F5 few times) and eventually thumbnail will ...
0
votes
0answers
98 views

Wordpress User Meta Open Graph and WPSEO Yoast different in production and staging environments

When using Facebook share to share a link I have been using WPSEO and custom hooks to update the Open Graph meta information based on custom parameters in the url in the theme's function.php file. /* ...
-2
votes
1answer
29 views

Need fixing generic posting on facebook

The problem becomes apparent when we ''post'' something on facebook. For example right now if I write: '' I love this website, check it out at www.5starpma.com'' we get the image of a male model. What ...
0
votes
0answers
132 views

Problem with Facebook Page Plugin (div)

As You probably know, FB change Like Box into Page Plugin. In Like Box we use code with "iframe", but on Page Plugin we have a code with "div" plus Facebook script in header. And what is my problem? ...
1
vote
0answers
51 views

Sharing post from archive page (loop) doesn't work

On my archive page, I have for each post( I have include in the loop) the possibiity to share the post via facebook via this code: <a href="http://www.facebook.com/sharer.php?u=<?php ...
0
votes
1answer
35 views

How to implement custom buttons into individual posts?

Is there any way that I can code custom buttons for liking, sharing, and tweeting on individual posts on wordpress. If so, how would I link the like button to like the post on Facebook and how would I ...
0
votes
0answers
50 views

How to import my wordpress blogs to a facebook blog page?

I've been blogging on WordPress for a few months and then shared on my Facebook wall. Now I am thinking about setting up a Facebook blog page and import all my WordPress posts into it. My ...
0
votes
0answers
57 views

How to manipulate Wordpress custom fields to implement OG Tags on individual Posts

Hello my name is Erin and I have just started sharing my website content onto Facebook. The problem I've run into is that I can not control the description, image or title of the post. After doing ...
0
votes
2answers
89 views

Post on facebook when I publish blog

I want to publish a facebook post the moment I publish a new blog on my website.Please help me to get this done.
1
vote
0answers
128 views

How to integrate Facebook Share button without code?

We are using this code for Facebook share button. We placed this code in our functions.php But we are getting pagenot found in fb share popup window. How to fix this issue. <span ...
0
votes
1answer
78 views

Insert Facebook button into header [closed]

I am trying to add a Facebook button to the center of my header image. I have tried adding a link to my header.php on different sections, but it either displays the button above or beneath the logo, ...
0
votes
1answer
60 views

Are there some caveats for using guids for FB comments

I'm using Facebook comments box and just realized that when we use <div class="fb-comments" data-href="<?php the_permalink(); ?>" data-width="100%" data-numposts="5"></div> and then ...
0
votes
1answer
376 views

Change meta tags programatically

Is there a way to change the meta tags not in the head but in a template file through code? I would like to change the meta tags <meta property="og:title" content="title" /> <meta ...
0
votes
1answer
318 views

Function returns post URLs rather than retrieving Facebook Graph API data

require('../wp-blog-header.php'); query_posts('&showposts=-1&order=ASC'); while (have_posts()) : the_post(); $url = the_permalink(); $json = file_get_contents( ...
0
votes
1answer
596 views

Customize Facebook's sharer.php to pass metadata of wordpress post (thumbnail and title)

I created FB Share button for wordpress post but it does not fetch the metadata from the post. I would like get the thumbnail and the title of the post when clicking share button. Here is the code I ...
0
votes
0answers
231 views

Getting most popular posts based on Facebook comments count

I have modified a widget to display the total number of Facebook comments on a post rather than the total wordpress comments. I can get that part to show correctly, but I would like to get the most ...