Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deleting a connection #653

Closed
eipark opened this issue Jan 3, 2017 · 2 comments
Closed

Deleting a connection #653

eipark opened this issue Jan 3, 2017 · 2 comments

Comments

@eipark
Copy link

eipark commented Jan 3, 2017

Is there a way to DELETE a connection? There seems to be no deleteConnection method, only deleteObject. For instance, I want to be able to make a DELETE to /{page_id}/subscribed_apps as outlined in the docs here.

@nbartels
Copy link
Contributor

nbartels commented Jan 3, 2017

This should work like this:

DefaultFacebookClient client = new DefaultFacebookClient("<pageAccessToken>", Version.VERSION_2_8);
boolean success = client.deleteObject("me/subscribed_apps");

@eipark
Copy link
Author

eipark commented Jan 4, 2017

Ah, thanks!

@nbartels nbartels added this to the Unscheduled milestone Jan 4, 2017
@nbartels nbartels closed this as completed Jan 4, 2017
@restfb restfb locked and limited conversation to collaborators May 17, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants