Clearing house on Facebook - Deleting everything - facebook

I am trying to make a Facebook bot that will delete everything that I have created: photos, messages, comments, shares, likes and anything else.
What language should I use and how should I start?

You can use whatever you want to code that kind of application. You just need their API and a lot of permissions so you're able to list them and delete then one by one. But why not just deactivate your account?
You will never manage to delete any content on Facebook, everything is just hidden

In general, applications using the API can only delete content that they've created. I.e your app can only delete a photo if it was uploaded using your app.
As a side note, If you want to purge your entire account, why not just delete the entire thing? It's the first result in the help centre for 'delete account' I don't understand why you believe Facebook won't delete your account manually (which they will), but think that doing it via the API would work (it also would, apart from the permissions issue i mentioned)

I am in favor of genesis that Facebook won't delete your data ever, they will just keep it hidden. But my approach would be to make a userscript which you run in your own browser (so short answer is javascript) and just trigger actions as if you were doing that manually. Also take care not to load too many pages too quick, Facebook monitors that. Put some delay after, lets say 2-3 sec after a delete action.
Earlier http://suicidemachine.org/ supported doing that for you, but Facebook banned their service. They should have made their code public so that anyone can run it on their own but then things might have changed and it would need to be maintained to always work but yeah something on github would have been great :D

Related

Deleting posts of other Facebook applications

I would like to delete thousands of old posts on a Facebook page made by another (discontinued) application.
From what I gather reading the documentation an application can remove only the posts made by itself. This is a reasonable default, but it prevents the development of any kind of administrative or cleanup applications, so I wonder if this is really the case.
Is there a way to mass delete posts made by an application? (If not through the API, perhaps through the UI?)
You just have to go through the page feed with /page-id/feed and delete them one by one: https://developers.facebook.com/docs/graph-api/reference/post#deleting
You are right though, you can only delete posts made by that App - most likely for safety reasons. A malicious App could just delete all Page entries.

Facebook app id for website social plugins

I have like/share buttons on my website and am not currently using an appid. Finding information on whether this is a necessity for the above configuration is difficult to confirm. When going through the Facebook app "create" forms, I'm really confused by a lot of the requirements as it seems to be more focused around actual apps rather than websites, which login via fb etc.
In the past I have created an app for one of my other websites and I don't believe there was any verification/submission process at this point (about 2-3 years ago). Reviewing my old app configuration now I can see that it is not "live" - does anyone know whether Facebook implemented this submission process in the last couple of years, and then de-activated any live apps that were created prior to this?
I now want to setup a new app for my new website and I'm unsure what the different 'action types' mean and what I would need to simply use like/share buttons on the website. Could someone give me a quick run down of what I'd need and what they are?
Any other info/tips people can provide would be greatly appreciated. I'm finding that the like/share DO still work without the app, but sometimes the share button doesn't work properly (I have a feeling this is something to do with the app).
Thanks
If you are just using the Social Plugins, you don't need to have a Facebook App ID.
If you want more integration, it will be required. Creating an App ID is like registering your App, wether an iOS or Android App or just a website, so that you can make Graph API calls for it.
The easiest way to register your website is to go the quickstart: https://developers.facebook.com/quickstarts/?platform=web (or https://developers.facebook.com/apps). There you can type a name and follow the steps.
You can then follow the "Sharing best practices" (https://developers.facebook.com/docs/sharing/best-practices#tags) on how to use the App ID. For example, by including an fb:app_id meta tag on your pages.
There is a review process, since last April, but that is only needed if you use permissions for your App. If you just use the plugins, that is not needed.
Can you explain more what is exactly not working?
Update
The time you create a page the Facebook crawler does not know yet what the Opengraph data for that one is. This will happen after the first share, but if you want to ensure it is correct from the first share on, you can force a re-scrape.
This section explains how that works:
https://developers.facebook.com/docs/sharing/opengraph/using-objects#update
When an app triggers a scrape using an API endpoint This Graph API
endpoint is simply a call to:
POST /?id={object-instance-id or object-url}&scrape=true

Facebook refusing to approve my application - Permission to mention pages

Facebook, a multi billion dollar organisation won't fork out for some live chat agents. Instead I'm stuck in a loop asking for approval, them not reviewing my app properly and giving me a cut/paste response. They say they monitor here, so here's hoping.
Nobody but me will ever use my app. It's a PHP page that posts to our radio station's Facebook page timeline www.facebook.com/BCnowplaying every hour or so, music that's playing on Budgie Collective.
We don't want to spam, this is why the nowplaying page is separate to our normal page.
The app works. All it does is grab a token, store it and post info to the page periodically.
I asked for permission to mention pages. And it was like I divided by zero. I only want this to mention pages of the DJ that compiled the mix that's on air (which is a sanctioned mention, as they have asked for this)... so that when their mix comes on, they are notified.
When I ask for the app to be granted this ability, I get told to show how the public will log in and use the app, and to give sample user accounts. Of course I have explained all this when requesting the permissions. But I keep getting knocked back. Nobody will talk to me directly and every time I re-explain and submit, I have to wait for several days to be given an answer that has nothing to do with how my app works. It's like they aren't even reading the submission.
What can I do next?
Since you're the only one using the application, there is no need to apply for approval. Owners of the application can already use the permission without going through the submission process.
By asking for approval you are basically telling Facebook that you want the public to use the mention feature as well.
So the solution here is to use the app as is and just change the settings to public in Settings > Status
Do you want to make this app and all its live features available to the general public?
Switch to yes.

Cannot Deactivate Facebook Account due Invisible Apps

i just wanna to deactivate my facebook account but it said i should deleting all apps which i was the only one developer [(Valista (300960046610265))], i search the ID but there is nothing and automatically redirected to http://developers.facebook.com/ ? is this bug? is there anyway to deleting this invisible apps? i remember creating this apps to make Timeline display, just before Facebook announce First timeline as his official display.
i really" need to deactivate this account pls...
There is a difference between deleting and deactivating facebook accounts. You may be able to bypass this problem by deleting the account, rather than deactivating it. Note below.
How do I permanently delete my account?
If you deactivate your account, your timeline disappears from the Facebook service immediately. People on Facebook won't be able to search for you, though some info, like messages you sent, may still be visible to others. We also save your timeline information (ex: friends, photos, interests, etc.) in case you want to come back.
If you don't think you'll use Facebook again, you can request to have your account permanently deleted. Please keep in mind that you won't be able to reactivate your account or retrieve anything you've added. Before you do this, you may want to download a copy of your info from Facebook. Then, if you'd like your account permanently deleted with no option for recovery, log into your account and fill out this form.
this is taken from this page link:
https://www.facebook.com/help/224562897555674/#How-do-I-permanently-delete-my-account?
If this doesn't work, you can go to the Facebook Developers support:
https://developers.facebook.com/support/
This Stack forum Web Applications, may be more suitable for this type of question https://webapps.stackexchange.com/faq I tried searching it and could not find a similar question.
Let me know if this doesn't solve your problem.

How implement Facebook-Login / facilitate site-register using Facebook

I want my users to be able to login or register on my Site using their Facebook-Account. Could be either like the user clicks the "Login using Facebook"-Button and is automatically logged in, while his data is saved to the db or he clicks "Login using Facebook" and gets my register-page filled with his data from Facebook.
I already tried the Facebook-register, but I think it doesn't solve the problem for me, because I don't want to change my entire register-dialog to Facebook. I want it additionally.
I managed to generate the "Login using Facebook"-Button using the Java-API. I also managed to get user-data via FQL using the PHP-API. But then I run into huge problems with the token.
I guess I read the (poor) documentation on FB-Developers for 20 times now. The Tutorials I found where either outdated or treat other cases. Besides that seemingly everyone uses another way to access FB.
Does anybody know an easy way to realize that and could clearly explain which functions, APIs, ... to use? Especially I feel like I still haven't totally understood that token-thing.
If someone is stuck with the same problems... For me it helped a lot to drop the JAVA-API and only rely on PHP.
See as well this tutorial: http://thinkdiff.net/facebook/php-sdk-graph-api-base-facebook-connect-tutorial/ (It's also a bit outdated, therefore you have to delete the call to the getSession-Method.)