CrazyEngineers
  • Hey CEans,
    I want to write a java (spring controller) where i can receive callback url sent by facebook whenever a user de-authorizes my app.

    I have specified the correct URL in my app and have read the documentation provided on fb.
    But i don't know how to write a controller file.
    I have tried this.

    public class RemoveAppController {

    private static Logger log = LoggerFactory.getLogger(RemoveAppController.class);

    @RequestMapping(value="/deauthorizehandler.htm", method=RequestMethod.POST)
    public void removeApp(HttpServletRequest request) throws Exception {
    log.info("DeAuthorize Callback getting successfully");
    }
    }


    Am i somewhere wrong ?
    Because this controller is not getting executed.
    URL i have specified in my app is #-Link-Snipped-# which i have mapped.
    Please help.
    Replies
Howdy guest!
Dear guest, you must be logged-in to participate on CrazyEngineers. We would love to have you as a member of our community. Consider creating an account or login.
Home Channels Search Login Register