For questions involving the social networking service Facebook

learn more… | top users | synonyms

0
votes
1answer
319 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
602 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
232 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 ...
1
vote
1answer
329 views

Facebook preview Open Graph Object Debugger

if i try to publich my website on Facebook i have an error with the featured image. I try to use the facebook debug but i not have any interest information. I use this function but nothing resolve: ...
0
votes
1answer
782 views

Facebook style timeline for Buddypress activity stream

I want to implement a Facebook style timeline for my activity stream. So something like the below would be great but instead of blog posts it would be the activity posts: ...
0
votes
1answer
250 views

Best Way to get facebook share count and update using wp_schedule_event or any other method

I recently developed a news blog, and my client needs facebook share count. I Successfully able to get the share count and update the custom field using below code.(with the help of cybermeta). What ...
0
votes
1answer
95 views

No result update a custom field using wp_schedule_event

I recently developed a news blog. My client asked for a facebook share count of an article. I am able to get the share count using facebook api, However, according to the information I found from ...
0
votes
0answers
110 views

Link Button url count php and wordpress

I have a function where it behind me facebook tanned number, the more accurate it brings me a number of shares that a post had! I tried to solve the function, more is giving an error and I need help! ...
3
votes
1answer
225 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 ...
-1
votes
1answer
273 views

Merge comments from Facebook with WP comments [closed]

I'm looking for a way to integrate Facebook comments (actual comments from facebook) into the comment section of a wordpress post? So what I need is; when someone comments on an URL-post on facebook ...
1
vote
1answer
291 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: ...
0
votes
0answers
220 views

Facebook and Google+ sharing suddenly stopped working properly in Wordpress

I've tried to find the answer to my problem by browsing through similar, older threads here, but I can't seem to find a solution for my problem. I have sharing buttons for the most common social ...
0
votes
1answer
1k views

Facebook php sdk 4 getSessionFromRedirect() always null

I have wordpress 4.1 with the following plugin installed: iThemes Security WordPress SEO I plugged in a function the facebook sdk. This is the code: //Footer add_action('wp_footer', ...
0
votes
0answers
73 views

Register author, facebook connect, publish posts from front end

I need little help to navigate me to the right method in these six steps. Need a facebook login, which when you connect you register in the site like a author. You have a register form to register ...
0
votes
0answers
112 views

How to display single arbitrary facebook post with a shortcode?

Does anyone know of a plugin that can show a single recent Facebook post with a shortcode that works something like this: [fb-recent post="0"] [fb-recent post="1"] where post="0" refers to the most ...
0
votes
0answers
194 views

Can users signup via the new REST API

I am building a mobile app that is a companion to a Wordpress site and will be retrieving and submitting data via a WP plugin built using the new REST API. Users will need to be able to create ...
-1
votes
1answer
299 views

prevent duplicate comments using wp_insert_comment

i am trying to import facebook comments to wordpress what iam doing is get the graph of the facebook post Comments, json decode it then i import the comment via this code so my code so far is ...
0
votes
1answer
228 views

Disable Jetpack Publicize for blog but keep for custom post type [closed]

I have a WordPress site with a blog and also a custom post type (set up with Pods) called extra. I want the extra custom post type to be auto published to a Facebook page and the blog to just publish ...
0
votes
0answers
42 views

Override theme metadata in header

I've recently purchased and heavily customized a new WP theme, but am having problems with metadata. When posting a link to the in Facebook, the meta data pulls in the theme author name ... As we've ...
0
votes
0answers
55 views

Facebook Share Link Not Correct

I have a WordPress site that when you click the Facebook like button it likes the wrong url. If I inspect the web page, the url that is inside the like widget is always the same URL no matter what ...
1
vote
1answer
114 views

API Hook for After Commenting (for sharing on Facebook)

I'm working on a site that has comments enabled, with no moderation. After commenting on a page, your comment shows up on that page, and I've added a Facebook share icon below each comment that allows ...
0
votes
1answer
258 views

How do I add Facebook OpenGraph meta tags for attachments in the header for a custom theme?

How do I add Facebook OpenGraph tags in the header when the header has already been called, and the values I need to add are obtained in the body? This is a highly customized theme (which I did not ...
0
votes
1answer
112 views

Wordpress as a Facebook app

I´m setting up a WP based app and due to some limitations on facebook page tabs and mobile phones I´m trying to set up a redirect that directs the pages accourding to device and if its visited through ...
0
votes
2answers
24k views

Custom Facebook share button with custom title,url,image in wordpress

I know there may be many such question in stackoverflow . but i am not getting solution what i want i am using wordpress. In my all post page there is share button ( via addthis plugin ) but what ...
1
vote
1answer
5k 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 ...
0
votes
1answer
376 views

Facebook share functionality in wordpress loop

I am trying to add facebook share functionality to my wordpress posts. in my wp loop i have a share button <a class="action_button" href="javascript:void(0)" id="share_button" target="_blank"> ...
0
votes
1answer
121 views

rewrite rules social share links

Within the Ultimatum's theme childtheme.php I've added rewrite rules to the rewrite rules and it works perfectly fine. However, it does not work if the URL is shared in Facebook or Twitter. The ...
0
votes
1answer
212 views

FaceBook fan-block in a text-widget

I want to add a facebook-fanbox on a wordpress-page. I can go about this in the following matter: I take the test from the facebook-developer site. Initialize the JavaScript SDK using this app: ...
2
votes
2answers
417 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 ...
0
votes
2answers
320 views

HTTPS connection with wampserver for “Facebook for WordPress” plugin

I have installed Wordpress 3.9.1 on wampserver2.2e-php5.3.13-httpd2.2.22-mysql5.5.24-x64. Then I installed the Facebook Plugin (1.5.5). I created a Facebook app and than I wanted to enter the ...
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: ...
1
vote
0answers
367 views

How to change og:url in WordPress site? [closed]

I am using WordPress for my website. I have the All In One SEO plugin installed. I have activated the Open Graph meta tags in this plugin. I have 55 posts. I want to change the og:url on each post to ...
0
votes
0answers
46 views

Access wordpress pages using a self signed shared ssl

I am trying to access a wordpress page to use in a Facebook tab. I have a self signed ssl installed and I only get a server 404 error page. I am using the wordpress https plugin, but I am not having ...
1
vote
1answer
1k views

Add custom Facebook share link with share count and variable text

I'm trying to do this in a news site homepage. The part I'm struggling with is the Facebook share link text. It should: count the share/link of the specific post hide the number is it's 0 write ...
0
votes
2answers
153 views

Website Preview Graphic for Wordpress Site

No idea how to ask this... so I'll give it my best. I have a Wordpress site, self hosted. When I post a link to a post on Facebook, Facebook tries to detect a preview graphic to show along with ...
0
votes
2answers
1k views

Conditionally write open graph meta property in header

Have a function I use to print Open Graph tags in the header of each page I also have a plugin I use to post to Facebook which also puts in it's own set of basic OG Tags. Facebook doesn't like if a ...
1
vote
1answer
180 views

WP_Cron script not updating all posts in loop

I've had an issue with this piece of script for a month now http://pastebin.com/f6LqgqQS. What the script is supposed to do is loop through all my posts, pull the like count from the facebook graph ...
-1
votes
1answer
663 views

Facebook share post dialog not showing post information

I recently created a new blog in Wordpress.com and wanted to share my post with my Facebook friends. When I tried to post using the Facebook share from my post, the "Share on Facebook" page opens with ...
0
votes
0answers
339 views

Send and Embed Vine (in WP Post) on Facebook

I've written a bunch of functions in my theme's functions.php so that I can use a shortcode to post Vine videos, e.g [vine id="hx9LlrZxdqV"]. My functions will then grab the raw .mp4 URL and output it ...
0
votes
1answer
1k views

how to add a facebook page latest posts into my wordpress site

hi I want to show all the posts of a face-book page in my word press site. I tried "Embedded posts"..but when I give the URL of post it shows the preview as "This Facebook post is no longer ...
1
vote
2answers
2k views

Writing a wordpress plugin and trying to include the Facebook PHP SDK

I'm writing a plugin for Wordpress that required the Facebook PHP SDK. I've run into what I think is a common problem judging from the number of results I've found dating back to over a year ago. ...
1
vote
1answer
413 views

Automatically add simple custom buttons for print, Facebook share, & Tweet in Posts [closed]

I want an easy way to automatically implement printing, Facebook sharing, and Tweeting for posts. No plugins, complicated javascript, nor functions.
0
votes
0answers
44 views

Integrating Facebook calender to Wordpress

i have a requirement, it goes like this I have a signup, login front-end page for users and visitors. Users can also register themselves with facebook login id. For users who have logged in via ...
0
votes
0answers
1k views

How can i call the facebook #hashtag images on my site

Can Any one tell me the way for facebook #hashtag images to get on my site site is in wordpress I am getting image from instagram which are posted there with # tag like #test then all the images ...
1
vote
1answer
390 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 ...
0
votes
1answer
272 views

Restrict access to content in conjunction with facebook connect & google login

I've got a page of content that I want to hide by default. We want the users wanting to see the content to be able to simply login using Facebook connect or Google logins. Since we will be using this ...
0
votes
1answer
197 views

file_get_contents_curl pulling wrong values

I'm using file_get_contents_curl to get the facebook likes of the post and store them in my database. $fb = ...
0
votes
1answer
1k views

Facebook sharer and parameters in URL

So after a lot of troubles (and thanks to this answer) I managed to make a GET parameter look better in URL, from www.url.com/mypage/?id=123 to www.url.com/mypage/123/ I hoped that would solve the ...
2
votes
2answers
362 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 ...
0
votes
0answers
479 views

How not to show author's name when sharing blogposts on Facebook?

(I'm a WP-Beginner and have to work on a WP-Blog someone else build & heavily modified, so please bear with me) On my WP-blog, I'm not showing the authors name on individual posts (or anywhere ...