Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Contributor B.

    (@bandonrandon)

    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

    (@johneckman)

    @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

    (@kristonai)

    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

    Ciao 4 now,
    Christina

    Plugin Author John Eckman

    (@johneckman)

    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.

    #$user = $facebook->require_login();

    does not work, the permission question is still there on facebook…

    any idea?

    Plugin Author John Eckman

    (@johneckman)

    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.