I’m using this code:
FB.ui(
{
method: 'apprequests',
message: "An invite',
title: 'App Request',
to: intFB_ID
}, requestCallback);
..but when I run it, it brings up a confirmation request dialoge box, which I have to physically click to ‘Send Request’.
Is there anyway to send an App Request silently, in that there is no confirmation required, and so can be run on a Cron or as a batch?
Thanks
The code snippet you provided sends a “user generated request” and there’s no way to do that without that specific dialog, so no you can not do it with no confirmation on the user side.
What you can do how ever is send an “app generated request” for the user instead.
The end result will be different though.
The two options are described in the Social Channels doc (under the Requests section).