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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T09:04:34+00:00 2026-05-13T09:04:34+00:00

Facebook requested that I change my design of my application because certain functions become

  • 0

Facebook requested that I change my design of my application because certain functions become deprecated.

Now I have to ask the user for “publish_stream” permission when he logs in.

When the user allows the permission, he is redirected to the website and everyone’s happy.
When he doesn’t allow -> he is being requested again and again until infinity.

What I want is that this permission will be optional. He will be able to use the application with or without the permission and the application will act accordingly (publish or don’t publish the feed).

This is my code on the first page of my application.

<facebook:CanvasIFrameLoginControl runat="server" ID="login" 
RequireLogin="true" RequiredPermissions="publish_stream"/>

Help me continue from there… How do I make the permission optional?

  • 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-13T09:04:35+00:00Added an answer on May 13, 2026 at 9:04 am

    Use the “onlogin” property on the Facebook login button to hook up a handler for after they log in; you will then call the following code:

    FB.Connect.showPermissionDialog("publish_stream", YOUR_RETURN_FUNC_HERE());
    

    showPermissionDialog won’t show the dialog if they already have the requsted permission; if you want them to not get asked every time (if they are denying), then you need to store/remember that they didn’t give permission in your database or something, and don’t request the permission next time they log in.

    Check out FB’s documentation.

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

Sidebar

Related Questions

I have an Android application that connects to Facebook to request authorization of an
I have an iframe Facebook application (using Facebook's new JavaScript API) that needs to
currently I have an app that creates all sorts of different requests to Facebook
I want that whenever the user types http://localhost:8280/services/Facebook/sea the actual request should be http://localhost:8280/services/Facebook/search?q=jack
I'm writing an Android application that should upload photos to Facebook. Everything works just
All, Currently I have a Facebook page that gets updated every few minutes using
We have a MVC3 application that we have created many small actions and views
Following a server move last week I have found that all the Facebook iframe
consulting the Facebook documentation on: http://developers.facebook.com/docs/reference/api/page/#tabs I saw that is possible change the tab
I'm developing a Facebook app for the web application that I'm working on. I

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.