Jump to content

(NB41) Social Count Fans


Recommended Posts

Posted

Purchased and installed, I'm very excited about this as I have been trying to campaign for this to be made.

I can't seem to change the social tabs colour, it just stays wait on my theme. You can check this via my sites test page Newbie if you would like to look? Also, can you please provide details on how to set it up fully via the install download?

I think other users will find this useful.

I have setup YouTube and Twitter without any problem but I cannot get Instagram or Facebook to accept my IDs etc

Posted (edited)

Hello,

11 hours ago, Joey_M said:

I can't seem to change the social tabs colour, it just stays wait on my theme.

Use the setting "Use background"

sc.jpg.75017a85206d56377317969fcc031bb8.jpg

Result

sc2.jpg.6c20bf09d06ace31df5bc117e727c39d.jpg

11 hours ago, Joey_M said:

Also, can you please provide details on how to set it up fully via the install download?

What do you want to know?

Some services work with API credentials only. Go to ACP - Plugins - (NB41) Social Count Fans - Settings

sc3.thumb.jpg.e8cc4b817e6c9788291734f9f03906a2.jpg

You can omit "Custom background" and "Custom FA icon" to use default values.

Example

sc4.thumb.jpg.300acb4f71794716e2d882d8bee1e4eb.jpg

sc5.jpg.fd5821a7fadf097625734b09d68f6c06.jpg

11 hours ago, Joey_M said:

or Facebook

Check Facebook Client Id. It should be number. It's simular as https://invisionpower.com/4guides/how-to-use-ips-community-suite/social-sign-in/facebook-r220/

App ID and App Secret

11 hours ago, Joey_M said:

I cannot get Instagram

You need to fill the setting on ACP Instagram access token

sc6.jpg.4ea601f841fb0076606314dd13567a1e.jpg

Click on Get access token

You will be redirect to main page. The url will be looks like domain.ltd/access_token=TOKEN

Copy TOKEN

Quick guide how to create an app

1. Go to https://www.instagram.com/developer/clients/manage/

2. Register a new client

3. Fill the fileds

4. On security tab uncheck Disable implicit OAuth

Edited by newbie LAC
Posted
On 02/04/2017 at 6:58 AM, newbie LAC said:

Check Facebook Client Id. It should be number. It's simular as https://invisionpower.com/4guides/how-to-use-ips-community-suite/social-sign-in/facebook-r220/

App ID and App Secret

Can I use the same application as the one I have setup to allow FB login integration?

Also, I assume the page name is the username? For some reason, I still can't manage to get FB to set up.

On 02/04/2017 at 6:58 AM, newbie LAC said:

Click on Get access token

You will be redirect to main page. The url will be looks like domain.ltd/access_token=TOKEN

Copy TOKEN

Quick guide how to create a app

1. Go to https://www.instagram.com/developer/clients/manage/

2. Register a new client

3. Fill the fileds

4. On security tab uncheck Disable implicit OAuth

Likewise with Instagram, however I am wondering if it's due to still being in 'sandbox mode'. Also, do I need to request any permissions?

Posted

Maybe detailed instructions for each service would help. I only got Twitter to work. No luck with Facebook or YouTube. And since there is no error reporting for the API calls I have no clue what to do differently. 

Posted
17 hours ago, Joey_M said:

Can I use the same application as the one I have setup to allow FB login integration?

If you want.

17 hours ago, Joey_M said:

Also, I assume the page name is the username? For some reason, I still can't manage to get FB to set up.

Facebook changed API. I fixed on your forum.

I need some time to update the plugin.

17 hours ago, Joey_M said:

Also, do I need to request any permissions?

No.

14 hours ago, opentype said:

Maybe detailed instructions for each service would help

I'll try.

14 hours ago, opentype said:

No luck with Facebook

There is a bug. Read above

14 hours ago, opentype said:

YouTube

Go to https://console.developers.google.com/

Create new project

yt.thumb.jpg.78fc041739686737ac88e7793ffa123f.jpg

Go to https://console.developers.google.com/apis/dashboard?project=social-count-fans

Click on ENABLE API

yt2.jpg.e998f22be8962861f8270275e00114d2.jpg

Click on YouTube Data API

yt3.jpg.26c028866a73617182aa21ded7700252.jpg

Click on ENABLE

yt4.jpg.7b8b78d959865e76da28501da7814ef1.jpg

Click on Create credentials

yt5.thumb.jpg.4bcdc4ae182cc5718c301a858ea5f9ae.jpg

Click on API key

yt6.jpg.1d457ae0d50659ee6415a842ac993b00.jpg

Click on Create

(Optional) Click on HTTP referrers and add your forum domain

yt7.thumb.jpg.4da43ef01ec514f2f6397404b4d63329.jpg

Copy API key, go to ACP and add it in "Youtube API key".

15 hours ago, opentype said:

And since there is no error reporting for the API calls I have no clue what to do differently. 

It's a bug. Widget form doesn't respect errors. I can log them or show to admins under widget.

  • 2 weeks later...
Posted

I just bought this plugin. Only Twitter is working... Facebook, Instagram, Youtube and Google+ I can't make it work. If anyone did, help would be appreciated.

Thanks

Posted
2 hours ago, joaocb said:

I just bought this plugin. Only Twitter is working... Facebook, Instagram, Youtube and Google+ I can't make it work. If anyone did, help would be appreciated.

Thanks

Hello,

Have you created applications for services?

Posted
11 hours ago, newbie LAC said:

Hello,

Have you created applications for services?

I have login handlers for facebook, google, instagram, twitter, linkedin, paypal, instagram... I followed the instructions above for youtube but it didn't work since it asks for the user channel link and not for the application id or the application secret. The same for the other social networks, except Twitter which is working well.

Posted
20 minutes ago, joaocb said:

it asks for the user channel link and not for the application id or the application secret.

Those are different things. The API key needs to be set in the ACP for the plugin, so it can call via the API. The channel ID is being set in the widget to specify which channel data to pull. 

That being said, I still can’t get it to work either. Google reports “client error (4xx)” in the developer console. 

Posted

Got it working now somehow. 

58f79baf6dc2a_ScreenShot2017-04-19at19_17_06.png.8549c3ce348a21deadc39ef2c3cb54aa.png

Another question: How is the Feedly function supposed to be used?

If I add a feedly URL https://feedly.com/i/subscription/feed/https…  it doesn’t work. If I add my IPS RSS feed directly, it works and reports the Feedly followers, but it doesn’t link to Feedly but to the RSS feed directly, so I can’t gain any Feedly followers this way. Is that intentional?

Posted

Hello,

11 hours ago, opentype said:

If I add a feedly URL https://feedly.com/i/subscription/feed/https…  it doesn’t work.

You should add a link without https://feedly.com part.

11 hours ago, opentype said:

If I add my IPS RSS feed directly, it works and reports the Feedly followers, but it doesn’t link to Feedly but to the RSS feed directly, so I can’t gain any Feedly followers this way. Is that intentional?

Looks like a bug. I'll change the link.

47 minutes ago, joaocb said:

Nothing else is working.

Any errors? I wrote instruction for youtube here https://invisionpower.com/forums/topic/436877-nb41-social-count-fans/?do=findComment&comment=2685441 For G+ it will be similar (you can use the same application) For instagram https://invisionpower.com/forums/topic/436877-nb41-social-count-fans/?do=findComment&comment=2685204

 

Posted (edited)

@newbie LAC I still can't get Instagram to work, I followed the steps mentioned in the latest upgrade but it still doesn't show.

-Edit...

Somehow now YouTube has disappeared and when I re-added service to the widget that no longer shows. :(

Edited by Joey_M
Posted

Hello,

14 hours ago, Joey_M said:

@newbie LAC I still can't get Instagram to work, I followed the steps mentioned in the latest upgrade but it still doesn't show.

See the setting "Instagram access token". Value is not url

https://prideofnottingham.co.uk/access_token=%TOKEN%

I changed. Result you can see on your test page.

Posted
7 hours ago, newbie LAC said:

Hello,

See the setting "Instagram access token". Value is not url


https://prideofnottingham.co.uk/access_token=%TOKEN%

I changed. Result you can see on your test page.

When using the metro style, would there be a way to make the 4th social channel the full size (as Facebook is on my test page?) so that it fills the white space @newbie LAC

  • 2 weeks later...
Posted

Is there a way to use this outside the drag-and-drop areas?

I would like to put it in my custom footer and created a Social count block in the ACP. If I add it as custom block to a drag-and-drop area through the sidebar manager it works – but if I call the block in a template or another block like {block="social-count"} it returns nothing. 

Posted

Hello,

14 hours ago, opentype said:

but if I call the block in a template or another block like {block="social-count"} it returns nothing. 

Because output depends on configuration. By default there are no services.

15 hours ago, opentype said:

Is there a way to use this outside the drag-and-drop areas?

I think you can use php to call the widget

Posted
12 minutes ago, newbie LAC said:

Because output depends on configuration. By default there are no services.

I've set up the services (while creating the block in the ACP) and the block works. It just doesn’t work when called through {block="…"}. 

Posted
17 minutes ago, opentype said:

I've set up the services (while creating the block in the ACP) and the block works. It just doesn’t work when called through {block="…"}. 

Give me some time to check

Posted (edited)
1 hour ago, opentype said:

I've set up the services (while creating the block in the ACP) and the block works. It just doesn’t work when called through {block="…"}. 

It's a core issue and related with "orientation".

applications/cms/sources/Blocks/Block.php

	public static function display( $block, $orientation=NULL )

When you use {block} tag you can't pass orientation variable.


Solution

Open plugins/nb41socialcountfans/widgets/nbSocialCountFans.php

Find and comment

		if ($this->orientation != 'vertical')
		{
			return '';
		}

or change to 

		if (isset($this->orientation) and $this->orientation != 'vertical')
		{
			return '';
		}

 

Edited by newbie LAC
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...