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 6951193
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T14:11:18+00:00 2026-05-27T14:11:18+00:00

I am new to the developing with the facebook platform. I’m currently following the

  • 0

I am new to the developing with the facebook platform.
I’m currently following the tutorial here:
http://developers.facebook.com/docs/beta/opengraph/tutorial/

I am at step 4, under “Publish an action”.

Where it wants me to copy the code snippet directly into the cURL terminal:

The only problem is while contacting my webhost technical support(1and1), they informed me that I was on a shared hosting plan and that I could not access the terminal directly and I would have to do this through a php script.

I don’t know how to do this, can anyone please, please point me in the right direction!!

Here are the instructions facebook gives me:

Publish an Action

Publishing an action connects the user to the object you created. The Open Graph Dashboard page has a ‘Get Code’ link next to your action. This contains curl code snippets that you can copy into terminal and run directly.

Publishing an action involves making an HTTP POST to the me/[namespace]:[action_type] Graph API endpoint with the following parameters:

[object_type]: a link to a web page representing an object.
access_token: a valid user access_token with publish_actions permissions.

For example, sending a POST to:

https://graph.facebook.com/me/YOUR_NAMESPACE:cook
?recipe=OBJECT_URL&access_token=ACCESS_TOKEN

This will publish a cook action for the recipe corresponding to the provided OBJECT_URL. Replace OBJECT_URL with your web page URL.

  • 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-27T14:11:19+00:00Added an answer on May 27, 2026 at 2:11 pm

    You should be using PHP’s built-in cURL support, not terminal calls.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am new to the Facebook graph API and I am currently developing my
I'm developing a new Facebook Canvas application within an iFrame and trying to authorize
I started developing a Facebook app using the new Graph API. I want to
I am developing a multi protocol client (currently Twitter, Facebook and Google Reader) for
I'm developping a facebook canvas app with the new Auth Dialog : https://apps.facebook.com/evaway_us/ My
I am developing my first facebook app, which includes creating a new album and
I am developing my first facebook app, which includes creating a new album and
I'v currently developing a php facebook canvas in an IFrame. The Idea is for
I have downloaded facebook-java-api-3.0.2-bin from http://code.google.com/p/facebook-java-api/ for connecting to face book.I want to use
I'm new to developing Facebook Applications. I've managed to create a Login button for

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.