News for hackers. Stuff that matters.
Re:Show HN: Facebook Page Unliker by sprremix on Saturday January 10, 2015 @05:25AM (#8866491)
Remember to remove this application[1] from accessing your information after you're done.

[1] https://www.facebook.com/settings?tab=applications

Re:Show HN: Facebook Page Unliker by viiralvx on Saturday January 10, 2015 @08:22AM (#8866702)
You can do that, but I don't store the data anywhere using the app. You can comb through the source code, its an app made purely with JavaScript and EmberJS.
Re:Show HN: Facebook Page Unliker by click170 on Saturday January 10, 2015 @11:08AM (#8867009)
Even if you don't, it's a good idea to train users to remove apps that they're done with so that other less scrupulous developers don't have unnecessary access to their info.
Re:Show HN: Facebook Page Unliker by viiralvx on Saturday January 10, 2015 @11:11AM (#8867014)
Valid point, you're right.
Re:Show HN: Facebook Page Unliker by cavemanklaus on Saturday January 10, 2015 @08:49AM (#8866749)
Very nice. I recognise you can't auto unlike everything. On click can you shift the page a set number of vertical pixels to the next like button. Then I can just click to unlike in rapid succession.

Tweepi do this for mass unfollow, see the Flush tool interface here: http://tweepi.com/tools/flush#0

Re:Show HN: Facebook Page Unliker by Macuyiko on Saturday January 10, 2015 @09:40AM (#8866828)
Good point! At first on my end it seemed like this was already kind of implemented since after every button click I scrolled my mouse wheel one tick down and the buttons aligned more or less (for a bit). This might be a good workaround!
Re:Show HN: Facebook Page Unliker by viiralvx on Saturday January 10, 2015 @09:09AM (#8866773)
Really? NICE. I'll try this out.
Re:Show HN: Facebook Page Unliker by deanclatworthy on Saturday January 10, 2015 @06:21AM (#8866574)
What's the reason you are asking for the email address permission?
Re:Show HN: Facebook Page Unliker by viiralvx on Saturday January 10, 2015 @08:27AM (#8866720)
As mentioned earlier, it's a default permission that Facebook gives access to.
Re:Show HN: Facebook Page Unliker by deanclatworthy on Saturday January 10, 2015 @04:17PM (#8867948)
This isn't the case any more: https://developers.facebook.com/docs/facebook-login/permissi...

You are explicitly requesting it. Take a look at the params you are passing to scope. I can see when clicking the sign in with facebook button in the URI you are requesting these permissions: scope=user_likes%2Cemail

I'm sure you are doing nothing malicious, but there's no way for us to be 100% sure you aren't doing something different on production.

Studies have also shown that you should only request those permissions that are needed, otherwise you lower conversions. So you might want to fix this right away.

Re:Show HN: Facebook Page Unliker by gfosco on Saturday January 10, 2015 @12:16PM (#8867175)
This is no longer true for apps created after last years F8 conference (4/30/2014, Graph API v2.0,) and I believe the deprecation schedule ends in April.. Older apps will no longer get this by default.
Re:Show HN: Facebook Page Unliker by baby on Saturday January 10, 2015 @07:46AM (#8866664)
IIRC it's by default when you ask for permissions.
Re:Show HN: Facebook Page Unliker by baby on Saturday January 10, 2015 @07:51AM (#8866667)
I'm trying to make a script to uncheck them all, something like this :

    javascript:var x=document.getElementsByTagName("button");for(var i=0;i<x.length;i++) {if (x[i].type == 'submit') {x[i].click();}}; alert('Done');
Not working though...
Re:Show HN: Facebook Page Unliker by viiralvx on Saturday January 10, 2015 @08:23AM (#8866704)
Yeah, I tried the same thing. Facebook uses iFrames for rendering their Like buttons, so its impossible to automate the clicking of them. :/
Re:Show HN: Facebook Page Unliker by kyriakos on Sunday January 11, 2015 @02:13PM (#8870893)
Its possible using phantomjs but I am not sure I want to go through the effort.
Re:Show HN: Facebook Page Unliker by baby on Saturday January 10, 2015 @08:24AM (#8866710)
Oh, that explains why!
Re:Show HN: Facebook Page Unliker by viiralvx on Saturday January 10, 2015 @08:27AM (#8866717)
Its unfortunate. :/ But, using this I found it wasn't too bad to scroll down and quickly unlike everything.
Re:Show HN: Facebook Page Unliker by adlpz on Saturday January 10, 2015 @05:21AM (#8866485)
Nice! I did something pretty much exactly like this 3 years ago. If you are curious, the code is at Github:

http://unliker.prealfa.com/ https://github.com/adlpz/The-Unliker

Of course, please mind that it was years ago and maybe I wasn't, uhm, so _proficient_ back then ;).

Re:Show HN: Facebook Page Unliker by viiralvx on Saturday January 10, 2015 @08:29AM (#8866722)
Very nice! Don't worry, outside of EmberJS, I rarely write JavaScript so mine may not be as proficient either.
Re:Show HN: Facebook Page Unliker by aw3c2 on Saturday January 10, 2015 @08:30AM (#8866725)
I do the opposite, I like random, suggested things. I like to poison their data with non-sense. Harmless to me, catastrophic for the creeps.
Re:Show HN: Facebook Page Unliker by viiralvx on Saturday January 10, 2015 @09:10AM (#8866775)
See, highschool me used to like random things but when you get it polluting your News Feed when all you care about is new music from indie artists, then that's when you want to start unliking things, haha.
Re:Show HN: Facebook Page Unliker by aw3c2 on Saturday January 10, 2015 @09:43AM (#8866837)
Just mark them not to be visible in your feed.
Re:Show HN: Facebook Page Unliker by jaredsohn on Saturday January 10, 2015 @01:42PM (#8867493)
If you only hide the stuff you don't care about, then you are poisoning their data with nonsense to a lesser extent.
Re:Show HN: Facebook Page Unliker by sqyttles on Saturday January 10, 2015 @08:56AM (#8866759)
I am working on an app that does a similar function but for 'friends'. Removing friends is very slow on desktop because of the thumbnails generated for all the profile pictures. The page refreshes often which further slows down the tedious task of deleting friendships.
Re:Show HN: Facebook Page Unliker by viiralvx on Saturday January 10, 2015 @09:00AM (#8866760)
Yeah, I was planning on creating something for friends as well, unfortunately the Graph API doesn't allow for programmatic deletion of friends, although it would be nice.
Re:Show HN: Facebook Page Unliker by sqyttles on Sunday January 11, 2015 @07:36PM (#8871939)
That's unfortunate (but good, I suppose) to know!
Re:Show HN: Facebook Page Unliker by blaabjerg on Saturday January 10, 2015 @10:47AM (#8866982)
It seems it automatically goes to the next page (and scrolls about 1/3 down the page) once I scroll to the bottom? And there's no way to go back to the previous page?

Some usability issues, but overall a nice idea. I like the chronological sorting.

Re:Show HN: Facebook Page Unliker by viiralvx on Saturday January 10, 2015 @10:56AM (#8866991)
Yeah . . . I'm wondering how best to fix that. The problem with rendering iFrames is that once you hit 100, it gets CPU intensive and laggy, so I decided to delete older items under the assumption that the user was done with them. Thus, by limiting it to 50 items onscreen at once, it increases performance. Maybe pagination would have been better, I just didn't want to force users to click more than they had to.
Re:Show HN: Facebook Page Unliker by RogerL on Sunday January 11, 2015 @06:58PM (#8871838)
I have 45 items. When I get to the bottom, it blanks all the items, and displays "finished loading items" twice. If I log out then log back in it displays my list of likes again .. until I scroll to the bottom.
Re:Show HN: Facebook Page Unliker by iwonagr on Friday January 09, 2015 @10:37PM (#8865816)
Sounds like a very useful app. At least for those "liking hyperactive" FB users who have grown up and now are using FB to build their brand through the platform. Nice job guys!
Re:Show HN: Facebook Page Unliker by viiralvx on Friday January 09, 2015 @10:39PM (#8865821)
Thanks! Heck, I remember back in the day when it was called 'Become a Fan' and not 'Like'. I was one of those hyperactive users out of boredom in high school, so I figured others would in a similar scenario.
Re:Show HN: Facebook Page Unliker by zo1 on Saturday January 10, 2015 @07:23AM (#8866646)
It was also back when the "thing" you were a fan of wasn't a page that could post stuff to your feed. Now every single one of those "things" you were a fan of are pages that have admins/owners and can post stuff.

E.g. At some point you could populate your profile with favorite books, movies, artists, etc. You know, topersonalize. Well, now they're all pages and you like all of them.

Re:Show HN: Facebook Page Unliker by nlx on Saturday January 10, 2015 @04:35AM (#8866392)
Needs an unlike all option, you could just load all the unlike links and hit them all with jquery.trigger('click')?
Re:Show HN: Facebook Page Unliker by viiralvx on Saturday January 10, 2015 @08:29AM (#8866721)
Since the Like Button is an iFrame, that isn't possible, unfortunately.
Re:Show HN: Facebook Page Unliker by nikanj on Saturday January 10, 2015 @04:48AM (#8866402)
If I scroll all the way the page links disappear and all I see is

"You have liked 56 pages.

Finished loading items!! Finished loading items!!"

Re:Show HN: Facebook Page Unliker by teekert on Saturday January 10, 2015 @08:31AM (#8866729)
I have same, initially it looks good and then this message without the ability to unlike things.

Great page though (when it works)!

Re:Show HN: Facebook Page Unliker by viiralvx on Saturday January 10, 2015 @08:40AM (#8866737)
I'm working on fixing that bug. This is my third EmberJS app, my first one with only EmberJS and no custom back-end, so I'm doing some hack-y things to get it to render more likes. Sorry about that~
Re:Show HN: Facebook Page Unliker by Intermernet on Saturday January 10, 2015 @04:07AM (#8866353)
Good idea.

One quick note to the authors (if you're reading), there's a typo on the info page:

s/need to you to/need you to/

Re:Show HN: Facebook Page Unliker by viiralvx on Saturday January 10, 2015 @08:30AM (#8866728)
Hey there, author of Page Unliker here. :) Thanks for catching that, I'll be sure to fix it!
Re:Show HN: Facebook Page Unliker by KhalilK on Saturday January 10, 2015 @04:21AM (#8866373)
Brilliant!

What about an "Unlike all" button?

Re:Show HN: Facebook Page Unliker by lucasmullens on Saturday January 10, 2015 @04:26AM (#8866380)
I assume this uses the like widgets, so that's not possible. There's no Facebook permission for "ability to unlike pages".
Re:Show HN: Facebook Page Unliker by KhalilK on Saturday January 10, 2015 @04:59AM (#8866425)
Selenium it is, then.
Re:Show HN: Facebook Page Unliker by james246 on Saturday January 10, 2015 @05:46AM (#8866519)
Worked fine for me initially, but after refreshing the page, I get nothing
Re:Show HN: Facebook Page Unliker by viiralvx on Saturday January 10, 2015 @08:30AM (#8866727)
Try logging out and then logging back in. Its an annoying bug I'm trying to fix to no avail.
Re:Show HN: Facebook Page Unliker by FabianBeiner on Saturday January 10, 2015 @04:36AM (#8866393)
You also might want to check out https://apps.facebook.com/allllmylikes/.
Re:Show HN: Facebook Page Unliker by BorisMelnik on Monday January 12, 2015 @02:25PM (#8875865)
actually like this better, and works better and less buggy for me for some reason
Re:Show HN: Facebook Page Unliker by FabianBeiner on Wednesday January 14, 2015 @08:54AM (#8886192)
Yes, same here. Yet, people downvote this suggestion…