I am using Facebook Credits.
I have set my user id as test user in app dashboard payments section.
Evey thing works fine, the transaction completed successfully, I get the order_id , then while fetching the details of that order_id to check whether it exists or not, the facebook Api gives the error
Fatal error: Uncaught GraphMethodException: Unsupported get request. thrown in
and testing by file_get_contents gives the following error
failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request
Using cUrl for checking its details also didn't work.
and the big point is that when i copy the link ( which is to be executed either by Facebook graph api, file_get_contents, and by cUrl ) and paste it in url, It works very fine.
I am so much worried, what is the problem with Facebook api, file_get_contents.
Kindly help me in this regard.
Thanks in advance