[PREVIEW] Sj MartLife - Modern eCommerce Joomla VirtueMart Template

0
Your Cart is currently empty!
Product update
Coupon
add
Coupon code invalid! Please re-enter!
AJAX loader
You are here: HomeForum

We are here to serve :)

Our support team is currently online to solve your issues.

Our support team is currently offline

Our support heroes might not be around this hour. Please expect some delays.

Our support is available from

Monday - Friday 8am - 5:30pm GMT+7

Your time: 00:00:00
Our time: 00:00:00

Welcome, Guest

REST API is deprecated
(1 viewing) (1) Guest
Read user-guide, report bugs and discuss more
  • Page:
  • 1

TOPIC: REST API is deprecated

REST API is deprecated 4 years, 8 months ago #28994

Hi,

18 August, the REST API for Facebook was déprecated. Return 0


 private static function getFacebookLike($params)
    {
        $url = $params->get('facebook_url');
        $url = urlencode($url);
        $json_string = @file_get_contents('http://api.facebook.com/restserver.php?method=links.getStats&format=json&urls=' . $url);
        $json = json_decode($json_string, true);
        $like_count = isset($json['0']) && $json['0']['like_count'] ? $json['0']['like_count'] : 0;
        return $like_count;

    }

Re: REST API is deprecated 4 years, 7 months ago #29030

Support ? No support ?

Re: REST API is deprecated 4 years, 7 months ago #29031

Hi all,

We have updated new version 1.1.1 that fixed this issue, you can download and reinstall it again.

Thanks

Re: REST API is deprecated 4 years, 7 months ago #29037

Hi , i have download the 1.1.1 , it's ok ... But ...

If there is no reponse from facebook or twitter ... the website crash.

There is a fatal error :
Catchable fatal error: Object of class stdClass could not be converted to string in /var/www/vhosts/config-gamer.fr/public_html/modules/mod_sj_social_media_counter/tmpl/default.php on line 28

Re: REST API is deprecated 4 years, 7 months ago #29077

Help, i can't use this module, i have a fatal error when he is activate.

Catchable fatal error: Object of class stdClass could not be converted to string in /var/www/vhosts/config-gamer.fr/public_html/modules/mod_sj_social_media_counter/tmpl/default.php on line 28
  • Page:
  • 1
Time to create page: 0.44 seconds

Notification

Please find your issue via Suggested Posts before submitting your question. We have solved the most of issues and maybe your issue was solved before.

Suggested Posts

(/)
Result not found!

Latest My Topics

No posts to display.

Love all our templates?

Join our membership clubs starting at $49 only for access to all of our templates

Join Now
Magento Themes Magento Extensions Free Magento Extensions Prestashop Themes Prestashop Modules Magento 2 Themes
Quà Tết Cao Cấp Hộp quà tết Giỏ quà tết Túi quà tết