It is currently Tue Oct 20, 2020 3:01 am

All times are UTC + 5:30 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Wed Feb 15, 2012 5:29 am 

Joined :
Wed Feb 15, 2012 5:25 am

Posts : 1
When I enable my products to be viewed in Facebook app I receve a error message:

Invalid OAuth access token.


Report this post
Top
 Profile  
 
PostPosted: Wed Feb 15, 2012 2:55 pm 

Joined :
Tue Jul 05, 2011 3:40 pm

Posts : 50
Hi,

Greetings!!

To resolve your problem, kindly follow the below steps by login to your FTP.

Get the file : app/code/local/apptha/facebookapp/model/Observer.php and under public function get_app_token($appid, $appsecret) commence the line

/*$ch = curl_init($url);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
curl_setopt($ch, CURLOPT_USERAGENT, 'Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.9.1.1) Gecko/20090715 Firefox/3.5.1');
$r = curl_exec($ch);*/

and replace the line as $r = file_get_contents($url);

Thanks,
Shalini. R


Report this post
Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 5:30 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron