Ask for a facebookapi. hope someone else can answer this question.

Source: Internet
Author: User
Tags oauth oauthexception
Ask for a facebookapi. I hope you can give me some answers. The company is a Hong Kong-owned enterprise and needs to create a facebook api.
I downloaded the latest FB PHP-SDK file on github. after opening the file, I used the ngix server to keep displaying Uncaught OAuthException: This IP can't make requests for that application.
Thank you for your answers.


Reply to discussion (solution)

Chinese mainland cannot access Facebook, don't you know?

This exception should have been accessed but not authenticated.
The specific cause of the exception should be described in the API documentation.

The company is a Hong Kong-owned enterprise and needs to build a facebook api.
I downloaded the latest FB PHP-SDK file on github. after opening the file, I used the ngix server to keep displaying Uncaught OAuthException: This IP can't make requests for that application.
Thank you for your answers. Since this problem has occurred, you must be able to access it ~~

This exception should have been accessed but not authenticated.
The specific cause of this exception should be described in the API documentation. I checked many problems that seem to be caused by the server whitelist ~~

Since This IP address is written
You can only change the IP address, or contact fb to allow your IP address to use

Uncaught OAuthException: This IP can't make requests for that application
Uncaptured OAuthException: This IP address cannot make requests of the application

The OAUTH protocol provides a secure, open, and simple standard for user resource authorization. At the same time, any third party can use the OAUTH Authentication Service, and any service provider can implement its own OAUTH Authentication service, so OAUTH is open.

Therefore, you must register with OAUTH before obtaining the service.

Uncaught OAuthException: This IP can't make requests for that application
Uncaptured OAuthException: This IP address cannot make requests of the application

The OAUTH protocol provides a secure, open, and simple standard for user resource authorization. At the same time, any third party can use the OAUTH Authentication Service, and any service provider can implement its own OAUTH Authentication service, so OAUTH is open.

So you need to register with OAUTH before you can get the service. thank you ~~ This should be the case. I also found in stackoverflow that I need to register first ~~

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.