Recently, we have created online WordPress Theme New social login function Facebook Login Interface to meet the needs of different customer groups Facebook Login Application and configuration of interfaces. reminder : Facebook Login In the process of user authorization and verification, Facebook's API interface will be requested, so it is necessary to ensure that the server can connect to Facebook's services normally.
Interface application
First click to enter this page, click Add new app
, fill in the basic information, enter the application page, you can see the added products, select Facebook Login
, click Settings, as shown in the figure:
Next, without paying attention to the content of the page, click Facebook Login>Settings
, as shown in the figure:
Found on page Valid OAuth Jump URI
Option, which needs to be filled in here Theme Settings>User Center>Social Binding Page
The page address set by the option, and then add the parameters: type=facebook&action=callback
, for example, the address of the social binding page is //hongchengtech.cn/connect
, then fill in //hongchengtech.cn/connect?type=facebook&action=callback
If pseudo static is not enabled on the website, the link of the social binding page may itself have parameters, such as //hongchengtech.cn?page_id=1
, then fill in //hongchengtech.cn?page_id=1&type=facebook&action=callback
。
The other address options below the page can be left blank directly, and then save the changes.
Interface configuration
get into Settings>Basic
, found Application number
and Apply Key
, as shown in the figure:
Then enter the website background Theme Settings>User Center>Social Login
add to Facebook
The login method is as follows: Application number
and Apply Key
Fill in separately ID
and Key
Option.
Finally, save the theme settings.