Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Correction

Unfortunately we need a GFID in addition to the UID, so more steps are required

3. Extract and GET hovercard URLs.

   grep -o "/friends/hovercard/mbasic/?uid=[^\"]*" 1.htm|sed 's/%3D/=/g;s/%3A/:/;s>%2F>/>g;s/&/\&/g;s/%26/\&/g;s/%3F/?/;s>^>https://mbasic.facebook.com>'
4. Extract and GET profile URLs.

   grep -o "href=./[^*\"]*" 2.htm|sed '/?/d;/data\/manifest/d;s>href=.>https://mbasic.facebook.com>'
5. Extract and GET "unfollow" URLs

NB Making too many requests for profiles too close together may draw a temporary, limited block.

   grep -o "href=.[^\"]*" 3.htm|sed -n '/subscriptions/s>href=.>https://mbasic.facebook.com>p'
6. Log out.

Done.

The five Facebook cookies needed are:

c_user xs fr sb datr

Further reading:

https://techexpertise.medium.com/facebook-cookies-analysis-e...

https://cookiedatabase.org/cookie/facebook/

https://www.facebook.com/policy/cookies/



Guess who is going to be banned from Facebook ;-)


The next research group that tries to study the effects of Facebook on it users (and anyone who helps such research groups).


I don’t have Facebook installed, but assuming the process is the same on instagram, I reckon I could unfollow 1 person per second with the app.

Even after step 3 three above, I have to enumerate and curl each unfollow url, at some undefined rate limit.

So maybe 5 minutes of work to complete all the steps? ~300 followees to make scripting the chore worth the effort?


I tried to remove myself from all of Facebook's Audience-Based Advertising lists - the ones where companies upload lists of people that they want to target with ads.

https://www.facebook.com/adpreferences/ad_settings

I'm on over 300 lists. Removing myself from each one took 6 clicks. I tried to automate it with Selenium, but their bot detector caught it and banned my device from opting out of any lists (!)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: