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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T16:27:09+00:00 2026-06-02T16:27:09+00:00

I am new to this Facebook coding game so have stumbled upon a fault

  • 0

I am new to this Facebook coding game so have stumbled upon a fault that I think only I may be getting. I initially wanted to allow the user logging in to manage their pages, however as an after thought, the client wanted their users to be able to post to their individual pages as well.

So, I added the publish_stream permission to the scope, but am stuck with just getting Facebook has an error.

Do i have to deactivate myself from the app first a la the point on the documentation:

https://developers.facebook.com/docs/authentication/

Code attached, any help would be great:

$facebook = new Facebook(array(
        'appId'  => $this->app_id,
        'secret' => $this->secret,
    ));

    $s = setting::findAppSettingSpecific('social','facebook');

    // exit;
    $facebook->setAccessToken($s);
    $user = $facebook->getUser();
    $dia_url = 'http://localhost/social/accept/';
    $login_url = $facebook->getLoginUrl($params = array('redirect_uri' => $dia_url,'scope' => 'manage_pages,publish_stream'));
    if($user == 0) {


    }
    else
    {
        echo ("<script> top.location.href='".$login_url."'</script>");
        echo 'Facebook Loves Us';
        return true;
    }

It is working on Localhost, just in case someone points that out, however only started calling errors when adding an extra permission.

Thanks in Advance.

  • 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-06-02T16:27:11+00:00Added an answer on June 2, 2026 at 4:27 pm

    You have a few options:

    (1) Use the Graph Explorer, select your app on the top right select box, change the method to DELETE and in the path put me/permissions.
    This will remove all of the permissions you granted the app.

    (2) If the app is bookmarked then in your facebook homepage hover the app name on the left bookmarks panel, on it’s left an edit icon appears, click that and then Edit Settings, there you can remove some individual permissions.

    (3) In facebook on the top right click the arrow that faces down, in the menu click *Privacy Settings” and in that page click the Edit Settings of “Apps and Websites” there you can control the apps you use.


    Edit

    (4) You can remove individual permissions with a DELETE request to /me/permissions with an extra parameter of permissions=publish_stream for example

    Thanks to @Igy who pointed out the 4th option.

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

Sidebar

Related Questions

I'm very new to facebook and wanted to know if this is even possible
i want to know how work facebook new timeline image reposition with jquery? this
I've just noticed this following , relatively new thing on Facebook, when you upload
I am new this sharepoint development and i have task in hand to do
Im new to this.I have this jquery <script type=text/javascript> $(document).ready(function () { $(.squares div).click(function
curl -F 'access_token=...' \ -F 'message=Hello, Arjun. I like this new API.' \ https://graph.facebook.com/arjun/feed
facebook.authorize(this,new String[] { email, read_stream },new DialogListener() giving me problem on mobile phone... but
I'm pretty new at this. I was playing with the Facebook Graph API and
I've never been to Yelp on this new computer I'm on, however that site
Coding Platform ASP.NET 4.0 WebForms I have two pages that are relevant here Login.aspx

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.