Title: [Plugin: WPBook] Disable the Allow screen
Last modified: August 19, 2016

---

# [Plugin: WPBook] Disable the Allow screen

 *  [kristonai](https://wordpress.org/support/users/kristonai/)
 * (@kristonai)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/plugin-wpbook-disable-the-allow-screen/)
 * There is no reason to need to allow permissions for this app. Can you modify 
   it so that the allow screen does not show up in fb. Apparently it just requires
   you to set a boolean to false.
 * Thanks,
    Christina
 * [http://wordpress.org/extend/plugins/wpbook/](http://wordpress.org/extend/plugins/wpbook/)

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Plugin Contributor [B.](https://wordpress.org/support/users/bandonrandon/)
 * (@bandonrandon)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/plugin-wpbook-disable-the-allow-screen/#post-1716270)
 * Can you provide more infomation on this. It is my understanding that all apps
   have to be authorized if they are going to access information on friends such
   as invite code.
 *  Plugin Author [John Eckman](https://wordpress.org/support/users/johneckman/)
 * (@johneckman)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/plugin-wpbook-disable-the-allow-screen/#post-1716329)
 * [@kristonai](https://wordpress.org/support/users/kristonai/) – I’d disagree there’s
   no reason to need permissions for this app, but since it is open source you’re
   welcome to change that and see how it works for you. 😉
 * In order to get the users name, have access to their profile id, and their profile
   picture, we need their permission.
 * We could set require login to false, but then we’d need error checking throughout
   the app for all the places we’ve used the current users info.
 * It is on my list of future enhancements to consider but honestly it is low on
   the list in priority order.
 * It is controlled by the wpbook/theme/config.php, line 8:
    `$user = $facebook-
   >require_login();`
 * But if we take that out, then all the places later where we need to access the
   user’s info will fail.
 * Not sure it affects anything beyond commenting and “add to profile” perhaps –
   maybe share, or invite?
 *  Thread Starter [kristonai](https://wordpress.org/support/users/kristonai/)
 * (@kristonai)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/plugin-wpbook-disable-the-allow-screen/#post-1716336)
 * Hi there,
 * Most of the basic user information (including photo) is available without permission.
 * The reason this is a priority, at least from my perspective, is that most fb 
   users are not savy enough to understand the allow screen. They get nervous and
   wont add it. Even my friends have told me they wont add my app because they got
   scared away by the allow screen.
 * Check this link out:
    [http://www.slideshare.net/mobicules/delaying-user-login-for-accessing-facebook-applications-benefits-howto-and-case-studies-presentation](http://www.slideshare.net/mobicules/delaying-user-login-for-accessing-facebook-applications-benefits-howto-and-case-studies-presentation)
 * Ciao 4 now,
    Christina
 *  Plugin Author [John Eckman](https://wordpress.org/support/users/johneckman/)
 * (@johneckman)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/plugin-wpbook-disable-the-allow-screen/#post-1716345)
 * Yes, but many blog authors do not want their blog indexed by search engines on
   Facebook because they are then competing with their blog outside Facebook for
   SEO rank.
 * I have no problem making it an option (though every option we add increases complexity
   of debugging, setup, and difficulty for new users understanding what the plugin
   does) to not require login – it’s just that it will take time to code and test
   to make sure we’re not running into a problem when it comes time to do share,
   invite, post comments, etc.
 * Users can also view the “tab” view of your blog on your profile without accepting
   anything, and will see the links in their news feeds – if you use the “promote
   external permalinks” option, the links in the news feeds should point to your
   external blog outside Facebook – that way users never need accept the application.
 *  [ivornatic](https://wordpress.org/support/users/ivornatic/)
 * (@ivornatic)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/plugin-wpbook-disable-the-allow-screen/#post-1716416)
 * #$user = $facebook->require_login();
 * does not work, the permission question is still there on facebook…
 * any idea?
 *  Plugin Author [John Eckman](https://wordpress.org/support/users/johneckman/)
 * (@johneckman)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/plugin-wpbook-disable-the-allow-screen/#post-1716417)
 * WPBook doesn’t support not requiring login.
 * You can remove the require_login() line but you’ll also need to deal with all
   the places where user info is used. (Facebook won’t provide access to user info
   without login).
 * Off the top of my head:
    - User’s name used in the commenting form in wpbook/theme/comments.php
    - User info used for “invite friends” link
 * Not sure if any user info is required for the “share” link – I don’t think so.
 * Most likely culprit is all the effort being done to find the user name in the
   comments file.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘[Plugin: WPBook] Disable the Allow screen’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wpbook_eeeeee.svg)
 * [WPBook](https://wordpress.org/plugins/wpbook/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wpbook/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wpbook/)
 * [Active Topics](https://wordpress.org/support/plugin/wpbook/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wpbook/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wpbook/reviews/)

 * 6 replies
 * 4 participants
 * Last reply from: [John Eckman](https://wordpress.org/support/users/johneckman/)
 * Last activity: [15 years, 2 months ago](https://wordpress.org/support/topic/plugin-wpbook-disable-the-allow-screen/#post-1716417)
 * Status: not resolved