Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7020509
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T23:19:41+00:00 2026-05-27T23:19:41+00:00

I am a novice with the Facebook API. I have read so many tutorials

  • 0

I am a novice with the Facebook API. I have read so many tutorials and I am still confused.I find that I can post to the feed with API methods like this:

$data = array("message" => "Hello World!");
$status = $fb->api("/me/feed", "POST", $data);

and that is correct, second way is using cURL, something like this:

CURLOPT_URL => $url,
CURLOPT_POSTFIELDS => $params,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_SSL_VERIFYPEER => false,
CURLOPT_VERBOSE

Which way is better?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T23:19:42+00:00Added an answer on May 27, 2026 at 11:19 pm

    This is a subjective question.

    While using curl may seems good way (with more control on what’s going on) I personally prefer and recommend to use PHP-SDK for obvious reasons:

    • Officially supported
    • Most changes to API will be transparent to you with update to SDK
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a little web app that uses the Facebook like widget. This page
I've notice that each wall post from mobile phone will have something like 44
I have problems parsing a atom facebook feed. Using: PHP's DOMDocument. Errors: Warning: DOMDocument::loadXML():
I have a Facebook Connect app that I monetize using Google AdSense. I want
Can anyone point me in the direction of any tutorials that might be available
I am going over/studying the facebook code that was leaked in 2007, I notice
I am novice in sharepoint programming. I have a following code: SPWorkflowTask task =
After following: https://github.com/plataformatec/devise/wiki/OmniAuth:-Overview I can sign up a user via Facebook. But I'm struggling
Hi i have notice there two date times facebook gives, one is a date
I'm an admin of a few facebook pages. Every time I post a message

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.