erichi
Forum Replies Created
Viewing 3 replies - 1 through 3 (of 3 total)
-
Forum: Themes and Templates
In reply to: [Blocksy] Theme Blocks Getting StartedThanks for the reply.
I figured that the extra blocks used to be part of the theme, as I have seen this kind of architecture change forced on other theme authors. I would have installed the Companion sooner, but the base theme had been meeting my needs very well until recently.
Forum: Plugins
In reply to: [Simple Facebook Connect] Extended Permissions IssueYou probably need to set your URL in the section titled: “Website with Facebook Login,” which has the “Site URL” field.
Forum: Plugins
In reply to: [Simple Facebook Connect] sfc_remote & malformed access tokenThe problem is that function sfc_remote in file sfc-base.php is not properly parsing the oauth/access_token response from Facebook, which then causes “Malformed access token” errors.
The following change solved my login problem where the user’s e-mail address was not being provided:
I replaced the following problem code:
if (!is_wp_error($resp) && 200 == wp_remote_retrieve_response_code( $resp )) { $args['access_token'] = str_replace('access_token=','',$resp['body']); $saved_access_tokens[$obj] = $args['access_token'];with:
if (!is_wp_error($resp) && 200 == wp_remote_retrieve_response_code( $resp )) { $fb_params = array(); parse_str($resp['body'], $fb_params); $args['access_token'] = $fb_params['access_token']; $saved_access_tokens[$obj] = $args['access_token'];
Viewing 3 replies - 1 through 3 (of 3 total)