Questions and Answers

How do I collect points?

  • +4
    Chosen as best answer
  • +1
    Posted answer
  • +1
    Posted question
  • +1
    Thumb up
  • -1
    Thumb down
112

by Eugene in Coding about March 28 open - report

SocialEngine 4.8 and broken Facebook login

This should be useful for SocialEngine based communities.

 

Since Facebook rolled out new API version Facebook login got broken. There is a quick workaround for this

1. open file application/libraries/Facebook/Base.php

 

2. look for method getAccessTokenFromCode (it should be at line ~596)

 

3. Replace lines

$response_params = array();
parse_str($access_token_response, $response_params);

with one line:

$response_params = json_decode($access_token_response, true);

Answer: 1  •  Score 1  •  Views: 222

1 Answer
Browse by
You must login to post an answer.