I just copy the source codes from https://developers.facebook.com/docs/reference/dialogs/requests/, JavaScript Example section, change to my API ID, then I can see the Dialog. but when I sent a Request to One or More Users, I always got the error:
An error occurred with xxxx. Please try again later.
API Error Code: 2 API Error Description: Service temporarily unavailable Error Message: User can't send this request: Unknown error
Did anyone encountered this before?
I have fixed this on my way.
You need a canvas app to use apprequest.
So click App on Facebook on the app setting page.
Create an index file for app including this code
<script type="text/javascript">
top.location.href = 'REDIRECT_URL'
</script>
Write the app urls and done. The app request will work.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With