Receive facebook deauthorize app callback
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.
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
You are reading an archived discussion.
Related Posts
Name: b suresh kumar
*Engineering Trade: cse
Location: hyd
*Occupation: hardware engg
Work Experience: --
*Hobbies & Interests: playing pc games
*Aim in life: --
*I joined CrazyEngineers because: --
I need video tutorials for Hardware and Networking.and various types of module for it.
Thank u.😎
Can we have game section in this community.😁
I want to know about D facts devices. Can anyone help me out?
Why we generally consider odd harmonics only. We don't get much importance to even harmonics Why?