The usage of curl in PHP is not considered good practice in WordPress. It comes with HTTP API to abstract network requests.
It will use curl when available, but still work via other backends if it’s not and allow you to use WP debug plugins to troubleshoot requests, such as Core Control.
Related Posts:
- Retrieving Default Image All Url Profile Picture from Facebook Graph API [closed]
- Use Device Login on Smart TV / Console
- When do I need a fb:app_id or fb:admins?
- When do I need a fb:app_id or fb:admins?
- Warning: Each child in an array or iterator should have a unique “key” prop. Check the render method of `ListView`
- og:url is driving me crazy?
- Face recognition via facebook API
- How can I control the Facebook like image? [closed]
- How can I auto-add my posts to my site’s Facebook fan page?
- If your blog was an app on Facebook
- Get FaceBook Friend Count [closed]
- Facebook OAuth, WP_Http::request() vs wp_remote_request()
- W3 Cache plugin and Facebook sharing [closed]
- FB – Comment Moderation Tool bug? [duplicate]
- Any Facebook component doesn’t work on WordPress website after update. Why?
- Facebook sharer and parameters in URL
- How to control Facebook share information for the front page?
- sharing video on facebook from wordpress
- Adding a “most liked post” box, based on facebook ranking?
- Open graph metadata isn’t pulled on Facebook until after I run that specific link through the debugger
- facebook like – image display and description
- Is there a method or plugin that will allow posts to be sortable by Facebook likes?
- How do I create a page for users to invite their facebook friends?
- Which social connect plugin do you recommend? [closed]
- How to generate “og:image” meta for Facebook sharing when the image in the post is not featured?
- Open graph problem: Showing wrong description of homepage while sharing on Facebook [closed]
- How do I remove all hyperlinks that begin with a #?
- Simple plugins to post info about new blog entries?
- Facebook link to website logo
- Trigger a function immeditely after a user posted a comment
- Hiding styles from Facebook
- RSVP form for Facebook events from a WordPress post?
- WordPress comments and Facebook comments
- Building a Member Directory Site on WordPress with Facebook API Integration?
- WP_Cron script not updating all posts in loop
- Automatically add simple custom buttons for print, Facebook share, & Tweet in Posts [closed]
- How to let user select role upon registration in Facebook-AWD?
- Choices for thumbnail image in a Facebook Link post
- Displaying Facebook comments count with tag
- How to preserve exact formatting when copy pasting from Facebook into WordPress (or elsewhere)?
- Send Facebook server-side event using shortcode and Official Facebook Pixel plugin
- Posting to Facebook via WordPress – 500 Internal Error
- Remove text from my Facebook posts
- How can I echo og:video url, if the post has video content?
- fb share site shows blank image
- Facebook / LinkedIn share page – https opengraph issues [closed]
- Facebook preview Open Graph Object Debugger
- Integrating Facebook calender to WordPress
- FB Comments box post to wall?
- Whenever I am sharing a post wordpress phrase is automatically added, can anyone help?
- Website Preview Graphic for WordPress Site
- How do I set a featured image for the homepage? [closed]
- Can’t access site after plugin activation
- Use Facebook PHP SDK from WPBook
- Integrate open graph protocol without plugin?
- Adding a list of social media links
- I want to enable facebook connect how to do this?
- Facebook share image wrong on post not on debugger [closed]
- No post image when pasting link into Facebook
- Facebook Like – Display counter starting at Zero?
- WP REST API – log in with Facebook
- How to implement custom buttons into individual posts?
- “This site is under development” when sharing on Facebook
- SFC Problem with the comment login
- Simple Facebook Connect: Access tokens not found
- Load facebook php sdk problem
- Unprotected page appears protected when posted to Facebook (S2Member)
- Facebook comment url is unreachable
- WordPress > Error when pasting link into Facebook
- How to install Facebook, Google+, & Twitter LIKE buttons for each individual post at frontpage?
- Facebook profile pic used as avatar
- Changing the Permalink Structure without Resetting the Facebook Like Counts?
- How do I get a list of users who LIKED a post to show in admin of page?
- WP / Facebook integration – recently read articles
- FB like adds WordPress install screen text to the wall
- Facebook embeds fixing with functions.php
- How to automatically search my entire site for any content embedded using oEmbed?
- How to transfer the Facebook instance articles from one WordPress to another WordPress with same domain name?
- WordPress website Thumbnails not showing on Facebook Share
- How to (correctly) embed a Facebook video?
- image share on facebook missing
- Facebook sharing content problem
- Facebook and Google+ sharing suddenly stopped working properly in WordPress
- Disable Jetpack Publicize for blog but keep for custom post type [closed]
- How not to show author’s name when sharing blogposts on Facebook?
- Facebook posts on wordpress blog
- subscribe to wp through a Faceboo app
- Automatic connect wordpress to facebook with featured image?
- facebook like on twenty eleven
- How to make a share-this window drop when reaching end of post?
- Problem with Simple Facebook Connect
- Right Facebook Open Graph Protocol into WordPress theme?
- get facebook status
- Facebook share post dialog not showing post information
- Facebook Comments not working in WordPress [closed]
- Post on facebook when I publish blog
- WordPress Site login problem with facebook, twitter and other social media
- How Facebook.com knows about duplicate pages on my site?
- get avatar from facebook graph [closed]
- Facebook video on a post appears in a strange language [closed]