Topic-icon Retrieving Facebook page followers number only

Active Subscriptions:

None
Hi Alex,

I did purchased your extension subscription, even if my presales question was not replied ;-)
www.sourcecoast.com/forums/jfbconnect/jf...owers-numbers#p44727

I am trying to achieve it with the easy tag feature, which is great, but I cannot make it work:

1. with JFBCLike
{JFBCLike href=https://www.facebook.com/gmit.su1 layout=button_count show_faces=false share=false width=300 height=120 colorscheme=dark kid_directed_site=true}
works but I would like the regular number format, like 7.952, not 7.9k.
My second issue is that if I am browsing the website without being logged in my own Facebook profile, the display is empty.
How can I solve this?

2. with JFBCFollow,
{JFBCFollow href=https://www.facebook.com/gmit.su1 layout=button_count show_faces=false width=300 height=120 colorscheme=dark kid_directed_site=true}
I have a "0" zero displayed.

3. with SCTwitterFollow
{SCTwitterFollow username=GMITSU lang=en count=horizontal width=300px align=left show-screen-name=false size=medium dnt=false}
How to remove the word "followers", the rest will be OK with custom CSS to hide.

I am not familiar with API parameters, so I rely on your extension.

Here a test page to make it more real:
gmitsu.dev.puma-it.ie/index.php?option=c...cle&id=106&Itemid=58

Kind regards,
Hervé
The topic has been locked.
Support Specialist
9 years 10 months ago #44837 by alzander
I'm so sorry for not getting back to your other post! Not sure how or why that was missed, but we'll try to get you going with your questions now.

First, for the two Facebook plugins, you have the "kid_directed_site" setting as "true". That setting should be enabled when your site is targeting (as at least some of the audience) children under 13 years of age. If that's not the case, you should turn off those settings. With that said:
1) The reason it's being hidden when you are logged in is because Facebook can't verify the age of the user. Because of that, it's simply not showing the button.
As for the text that's displayed, there isn't a way to alter that. You may want to try one of the other layouts, like box_count, which may have a different/better layout that you're looking for.

2) The Follow button is only meant for Personal user profiles. It can't be used with Pages. You may want to try the {JFBCFan href=https://www.facebook.com/gmit.su1} tag. That will show a Like button, you recent admin posts to your stream, and user avatars who have Like'd the Page.

3) You can't remove "followers" from it. In general, the social sharing widgets are all hard-coded by the social networks. They try to prevent a lot of modifications specifically so you can't alter the looks too drastically. The reason is that they want a uniform look across all sites for familiarity, but also to prevent abuse. If users could completely alter the looks of the buttons, they could abuse the buttons to trick users into clicking them unknowingly.

Here, again, you may want to consider the bigger box-count layout with the following tag:
{SCTwitterFollow username=GMITSU size=large}
I hope that helps explain some things, but if you need anything else, just let me know.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
9 years 10 months ago #44850 by hboinnard
Hi Alex,

Thank you for your replies!
So we will see a plan B or leave our layout idea for the moment. Or maybe a specific App could do it, I have no idea.

Thanks for age restriction info, I can it see the tag working now.

But I have the same issue with the Social Widget module on the home page here:
gmitsu.dev.puma-it.ie/
If not logged in Facebook, the box is not displayed. I have checked the module settings, and the FB app > Settings > Advanced > App Restrictions > Age Restriction = Anyone (13+). I did not find any other setting that should work in any case.

Did I missed something again?

Kind regards,
Hervé
The topic has been locked.
Support Specialist
9 years 10 months ago #44857 by alzander
Hervé,
The reason the Page stream isn't showing is because the Page itself is restricted in some way. If I'm not logged into Facebook and I go to:
www.facebook.com/gmit.su1
I'm redirected to the Facebook home page. That means that Facebook can't determine something about 'me' and is restricting my view of the page (hence, redirecting me to login).

You'll need to either:
a) Remove the restriction from the Facebook Page
b) Wait for the JFBConnect 6.1 release which will have a way to display the stream from a Facebook Page, FB Group, LinkedIn Company and/or Twitter stream in a fully configurable way on your site. You'll be able to fully customize the output and even merge multiple streams into one view. JFBC 6.1 should be out later this month, if all goes well.

I hope that helps answer your questions, but if you have others, as always, let me know!

Thanks,
Alex
The topic has been locked.