Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Facebook Requests Dialog: Sending Requests Failed

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?

like image 855
lhjava Avatar asked Oct 24 '12 09:10

lhjava


1 Answers

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.

like image 64
Sercan VİRLAN Avatar answered Oct 20 '22 01:10

Sercan VİRLAN