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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T13:40:24+00:00 2026-05-25T13:40:24+00:00

I am following the instructions on this page to create a PHP script which

  • 0

I am following the instructions on this page to create a PHP script which will (hopefully) allow me to post to Facebook from my web site.

All I really want to establish is the ability to enter text and a link into a form on my web site and have it be posted to a Facebook wall.

My understanding is that I need to validate a Facebook app in order to do this, which is what brought me to the above web page.

I have followed their instructions dutifully, and by now I have been through it many times, checking to make sure I have followed their steps accurately.

However, when it gets to the part where I run fb_access.php from my web site, I get absolutely no response from Facebook.

I notice that the screen shot examples on the page I am using are not what I am seeing in the Facebook interface. The tutorial is from December 2010, which I would hope is recent enough, but perhaps things have changed…?

How do I get Facebook to respond to my PHP script?

<?
require_once 'facebook.php';

$app_id = "<my App ID";
$app_secret = "<my App Secret>";

$facebook = new Facebook(array(
 'appId' => $app_id,
 'secret' => $app_secret,
 'cookie' => true
));

if(is_null($facebook->getUser()))
{
 header("Location:{$facebook->getLoginUrl(array('req_perms' => 'user_status,publish_stream,user_photos'))}");
 exit;
}
?>
  • 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-25T13:40:25+00:00Added an answer on May 25, 2026 at 1:40 pm

    Try using the Facebook PHP SDK demo script here:

    https://github.com/facebook/php-sdk/blob/master/examples/example.php

    Once you have this script running – you can then begin to request calls, such as post to wall. If the call is successful, FB will prompt you with a Request for Permission.

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

Sidebar

Related Questions

I installed wxWidgets-2.8.10 following instructions from this page: http://wiki.wxwidgets.org/Compiling_and_getting_started Libraries directory: alex@alex-linux:/usr/local/lib$ ls |
While following the instructions on the CakePHP book to create an ACL controlled site
I want a WYSIWYG html editor to create a static web page. After some
I'm creating my own Facebook button by using the following istructions: http://www.kimwoodbridge.com/how-to-create-your-one-facebook-share-url/ However my
I am following Running safariwatir against watirspec instructions from safariwatir readme . $ git
I am following the instructions on the page- http://guides.macrumors.com/Installing_LaTeX_on_a_Mac I tried setting up tex
From C++ Primer, 5th Edition, page 407: All static duration variables share the following
I have followed the following instructions in setting a git repository locally in one
I have installed GDB 7.0 and python per the following instructions . In the
Tried following the instructions here: How to use Google app engine with my own

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.