I was wondering if anyone happened to know how to delete a facebook test user. I've been perusing through this site for quite awhile now and haven't been able to uncover anything related besides a single unanswered post regarding deleting a facebook test user associated with 2+ apps. Facebook now offers a UI within their dev site which allows this functionality; however, I'm trying to perform the same operation through a C# script utilizing the Graph API and issuing the relevant HTTP commands. Tried monitoring the requests made through the UI using netmon/Fiddler but wasn't able to uncover anything useful. Help, any & all will be greatly appreciated.
See https://developers.facebook.com/docs/test_users/ - the section marked 'Deleting':
https://graph.facebook.com/TEST_USER_ID?
method=delete
&access_token=TEST_USER_ACCESS_TOKEN (OR) APP_ACCESS_TOKEN
I was not able to get the TEST_USER_ACCESS_TOKEN to work. I did get the APP_ACCESS_TOKEN to work. Here is what worked for me.
https://graph.facebook.com/<TEST_USER_ID>?method=delete&access_token=<APP_ID>%7C<APP_ACCESS_TOKEN>
Use FB graph API as follows:
https://graph.facebook.com/v2.8/{test-user-id}?method=delete&access_token={user-access-token}
You should get the following response:
{"success":true}
Related
I am working on a feature which includes Facebook events, but I just read that Facebook API endpoint for getting events are deprecated. But still, I've got one question. How is possible that Evensi.com is still functional?
Also if I missed something, do you know any proper way how to import Facebook events based on location?
Regards,
Michal
I just created a python script, you can see here.
It queries the given facebook page and it's events and puts the data into a MySQL table.
Also, there are some js libraries on Github, so I think it's not impossible.
I have done much searching but not able to find a solution.
Trying to get my Twitter to Facebook feed setup but getting this error:
"Facebook reported an error. The error has been reported to our engineering team. Please try again as it might be a temporary problem"
From what I can gather it may have something to do with an old account that has been deleted, but I have no idea how to resolve this and nor do a lot of other people.
First up: this is not a programming question since it's not related to the Twitter API but to the Twitter interface. Therefore, it's actually to be regarded as "Off-Topic".
To give you a helping hand nevertheless:
What you are describing is a known bug Twitter bug. Check https://www.facebook.com/help/community/question/?id=110412992466716 and https://dev.twitter.com/issues/998
The problem comes up when your Twitter account was previously connected to another Facebook account that you deleted/deactivated without removing the Twitter app first. Now that you try to connect to a new Facebook account, Twitter still tries to authorize using the old credentials of that other account.
Currently, your only hope is to ask Twitter to manually remove the old account credentials from your Twitter profile's backend. From what I've been reading, Twitter frequently fails being cooperative in that point... you can only ask and hope someone at Twitter is able and willing to manually correct their bug.
I'm a little bit lost.
So, I'm not really trying to integrate facebook with my webproject, but in some point I need to get some information of a fb account... like friend's email, name, status and some other things...
From what I read so far, it seems that it's no longer possible to get friends' email and some other information without the friends authorize you app to do that, at least when using the last api from fb (graph api)... so I thought that was something impossible to do, until I see some sites (like yahoo) offering a possibility to import your contacts from your fb account without his friends authorize. Does anyone know how they do that?
I tried using other apis, like facebook-java-api, restFB, and others but in all cases I'm getting some kind of error... so if someone could at least give me a direction or something like that... have you done this? or know how to? using which api?
some info: I'm developing in Java with Eclipse, using tomcat as my web server.
well it's a little bit confusing since its not a technical issue, but if someone could help me pointing some direction I could tell each error i got when trying to go this direction or something like that.
You dont HAVE to use an SDK at all... Basically the only URL you need to be aware of is graph.facebook.com and you can just make HTTP requests to that URL. You might want to look into the facebook connect feature too.
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.)
As an experiment I'd like to set up a coldfusion page that will pull and display the status updates from my own facebook account and twitter accounts that fall within an input date range; similar to tools like
http://orsiso.com/
http://www.threadsy.com/
and http://www.davidcramer.net/lifestream
I assume this will involve working with the facebook and twitter apis, which I have some experience with when working with mobile apps; but I've never tried to do something like this with a coldfusion page before. Eventually I'd like to pull other things like images and such, but for a first test just status updates is fine. Does anyone have sample code and/or pointers that could assist me in this endeavor? Thank you very much in advance.
Edit: I'm interested in a variant of this idea involving a database, and I've opened up a new question regarding such: Pulling facebook and twitter status updates into a SQL database via Coldfusion Page
In addition, you should check out RIAForge, which has CF code to handle both Twitter and Facebook APIs.
For Twitter see this..
http://www.stephenwithington.com/blog/index.cfm/2009/3/4/Use-ColdFusions-CFFeed-to-Display-Your-Twitter-Tweets-and-more-on-Your-Blog-in-30-Seconds
Have a look at this coldfusion wrapper for the twitter API here, really easy to set up and grab the data from your twitter feed.
I also use the twitter4j library to access my twitter account on my coldfusion site, I followed the tutorial here to get started.