Live data from Hacker News

I was annoyed with sites asking for too many Facebook privileges and made this

github.com

21–30 of 146 posts

Re: I was annoyed with sites asking for too many Facebook privileges and made this

#22
post #5

Awesome extension! I just wish Facebook would include this as a standard option on the auth page. It would be great to just uncheck the things I don't want it to do on my behalf. Instead I was allowing the app and then editing it's permissions immediately afterward. Great job!

Agreed, an really the same goes for Android Apps. Requesting permissions is a request, not a demand.

Re: I was annoyed with sites asking for too many Facebook privileges and made this

#23
I wish there was a way to request permissions for a given time period, it seems it's all or nothing. I'm creating some apps at the minute and just need to checkin the once, I wish I could communicate that to the user but instead facebook insists that they authorize it 'for ever' (well, until they remember and go and remove it).

In my opinion that would make take up and "throwaway" usage of apps a bit easier to sell.

Re: I was annoyed with sites asking for too many Facebook privileges and made this

#24
Facebook is actually a bit scary even with most of the things you're disabling here disabled.

(My point is that this is cool, but it really isn't enough)

For instance, I'm using facebook auth on http://lanmarks.com -- I wanted to be able to pull my users' facebook friends so that they could filter the data on my site to only their set of friends (this is one of the appealing parts of facebook auth, imho).

I spent a bit of time looking around the API docs searching for the option for "allow me to see their friends", figuring that I would have to ask my existing users to re-auth against facebook with the new permissions.

Nope. I get that by default, and I can pull a list of your friends silently in the background.

This is with the most basic authentication mechanism that facebook offers.

That's...scary to me. As I was building this out, I asked a friend of mine on gchat to go to the site and auth against facebook to check that the functionality was working.

It was... I was watching my DB, and without facebook even telling her, it grabbed a JSON of all of her friends.

Creeeepy

_I_ tell people this on the site (this will get your name and people in your network), but I wish that facebook did too. At least I wish they made it more obvious.

And you know what? Honestly, facebook, you're totally dropping the ball on oauth here. Where in your documentation does it explain how to exchange an expired token for a new one?

Most devs end up requesting a permission called "offline_access", which facebook explains as "The application can access my data at any time"

This, along with "stream_access" (which most apps also ask for) literally means that the developer can post to facebook, as you, without you knowing it, whenever they want and with whatever they want.

That's bad, facebook. That's bad to the point where I actually disabled facebook integration on http://thingist.com/. The idea that my application could just post a status as any of my users, and it could do so without any interaction from them...was just too much.

C'mon facebook, stop making it so hard for me to defend you all the time.

(By the way, you don't really need a plugin to do this. Have a look right here: http://developers.facebook.com/docs/reference/api/permission...

then look at the URL in the window that you end up in at facebook.com -- the one prompting you for permissions. Just edit the URL to reflect the permissions that you want to give the app.)

Re: I was annoyed with sites asking for too many Facebook privileges and made this

#25
This is a fantastic idea.

I have a really simple Firefox port running. You can see the code and download it (.xpi) here: https://github.com/psawaya/OOptOut-Extension-Firefox/tree/ma...

I only tested it out on one website, so let me know how well it works (or doesn't) for you. I'd like to keep working on this and tighten up the interface. I think a lot of people will find this useful!

Re: I was annoyed with sites asking for too many Facebook privileges and made this

#26
post #23

I wish there was a way to request permissions for a given time period, it seems it's all or nothing. I'm creating some apps at the minute and just need to checkin the once, I wish I could communicate that to the user but instead facebook insists that they authorize it 'for ever' (well, until they remember and go and remove it). In my opinion that would make take up and "throwaway" usage of apps a bit easier to sell.

If you request offline_access, the user will see "access your data at any time" as a requested permission. If you do this, the access token you are given does not expire unless the user does some action to expire it (such as updating her password). If you don't do this, the access token has an expiration date, and the user has to refresh the session (transparently happens with the JS SDK, I believe) in order for you to have continued access.

Re: I was annoyed with sites asking for too many Facebook privileges and made this

#29
I hate the security model where all the permissions are requested up front, and you have to approve them all (e.g. Android and Facebook without this plugin).

All permissions should be off by default, and the user should be asked the first time a permission is needed to perform an action (a'la GPS on iphone) - at least that way you know what it wants the permission for, and the app can gracefully handle rejection.

Re: I was annoyed with sites asking for too many Facebook privileges and made this

#30
post #14
post #7

i've just started working with the facebook api over the weekend to integrate into an app i've built and every permission requested has a checkbox next to it on facebook's auth dialog to allow the user to reject it. http://i.imgur.com/v4jAU.png are those apps using a different api than the open graph? i don't see any setting in my app's page on facebook to allow those to be disabled (not that i would prevent users fr…

It looks like there's a "new" auth window in beta: https://developers.facebook.com/docs/beta/authentication/

As the screenshot hints, that's focused around Timeline. In the developer versions I've seen, `publish to timeline` is a completely different step than the other permission collection -- which could have an impact on conversion (suddenly users have to 'accept' twice instead of just once).
Post reply on HN