Skip to content

Instantly share code, notes, and snippets.

@jeffdeville
Created November 2, 2011 19:45
Show Gist options
  • Select an option

  • Save jeffdeville/1334675 to your computer and use it in GitHub Desktop.

Select an option

Save jeffdeville/1334675 to your computer and use it in GitHub Desktop.
delete notification requests using the graph api.
app_token = Koala::Facebook::OAuth.new(FB_APP_ID,FB_SECRET).get_app_access_token
graph = Koala::Facebook::API.new(app_token)
graph.delete_object("#{request_id}_#{user_id}")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment