We'll create fresh WordPress site with Social News Center installed. You have 20 minutes to test the plugin after that site we'll be deleted.
Social News Center plugin displays the latest posts from social media sites such as Facebook, Instagram & Twitter for specified pages & accounts. Page and account profiles can also be viewed together with support for performing actions such as Like, Share, Favorite, Retweet and more.
Posts are displayed in item boxes which are sorted in date descending order based upon when they were posted, shared, or re-posted. The boxes are dynamically laid out within the web page based upon the width of the browser or section of the web page. The layout works on PC’s, tablets and smartphones alike automatically adjusting to the browser or screensize. Each item box contains the following information about a post:
Note: most buttons within the Footer will show if they have already been used by the current user assuming this information is made available from the relevant social media network.
This plugin caches results from calls to social media networks in order to improve overall page load times and to better utilize the quotas placed on developer API keys. When a web site user logs in the plugin will where possible use the user’s quota leaving the development quota as backup for those who do not login.
Check that the parameters are enclosed within standard quotes and not fancy alternatives which some document editors can use e.g.
Check that multiple accounts specified for a social media network are separated by semicolons (;) e.g.
Check that social media account names are prefixed with a ‘/’ for Facebook, ‘@’ for Instagram and ‘@’ for Twitter e.g.
Accessible via the ‘Social Media Center’ menu on the left side within the admin Dashboard.
“Secret” – FACEBOOK_SECRET setting to access the Facebook API
“App Id” & “Secret” settings can be created or retrieved via https://developers.facebook.com/apps
“Access Token validity” – ‘Access Token validity’ setting to show whether the ‘Access Token’ is ‘valid’ or ‘invalid’, generated as a result of clicking the ‘Generate’ button
“Client Id” & “Client Secret” settings can be created or retrieved via https://www.instagram.com/developer
Note: Field ‘Valid redirect URIs’ under ‘Security’ tab needs setting to include the following two URIs whilst replacing ” with your web site domain name e.g. www.mywebsite.com, if the web site is in a sub-folder then include this too e.g. www.mywebsite.com/wordpress
http://<DOMAIN NAME>/wp-admin/admin-ajax.php?action=snc_get_instagram_code
It is important to use 'https' rather than 'http' in the above URI if the admin area of your WordPress installation is SSL protected. The port number may also need including e.g. ':443'.
http://<DOMAIN NAME>/wp-admin/admin-ajax.php?action=snc_instagram_oauth
It is important to use 'https' rather than 'http' in the above URI if the user facing pages of your WordPress installation are SSL protected. The port number may also need including e.g. ':443', in most web sites SSL is not used for performance purposes.
Additionally 'Client Status' can be left as 'Sandbox Mode' within Instagram Developer.
“Retweets” – to Include or Exclude retweets of posts.
“consumer_key”, “consumer_secret”, “oauth_access_token” & “oauth_access_token_secret” settings can be created or retrieved via https://apps.twitter.com
Place the following shortcode on any Page or Post within your WordPress website:
(Note that one or more social media networks with account(s) or profile(s) need specifying in order for posts to be displayed)
To display posts from the ‘Beer Infinity’ Facebook page:
This will show a Facebook Login button too and is the same as the following:
Login/logout buttons can be suppressed as follows:
(Note the need to preceed the Facebook account name with a ‘/’)
To display posts from the ‘Beer Infinity’ Facebook, Instagram & Twitter pages:
(Note the need to preceed the Instagram & Twitter account names with an ‘@’)
To display posts from multiple Facebook, Instagram & Twitter pages:
(Note the need to separate each Facebook, Instagram & Twitter Account names with a ‘;’)
This section includes some points to note about the behaviour of social media posts being returned by this plugin:
Actions – some actions performed on posts will not always be displayed immediately e.g. clicking Favoriting or Retweeting a Twitter post displayed by the Social News Center plugin. These actions will be displayed once the current cached item has expired or the cache has been manually emptied within the settings page.
Caching – in certain situations it is possible for protected posts to be seen after a user has logged out of a social media network due to the results still being cached. Once the cached items have expired then this will no longer be the case. Note: this does not mean that a user can see posts that they did not previously have access to!
Login/logout – there are differences between different social media networks with how Login/Logout works e.g.
Facebook – if login/logout is carried out directly within the Facebook website then the Social News Center plugin will automatically pick this up when the page is refreshed or alternatively it is possible to login/logout of Facebook within the plugin.
Instagram – login/logout on the Instagram website is not detected by the Social News Center plugin and that an additional Authorization is required within the plugin via the ‘Login’ button.
Twitter – login/logout on the Twitter website is not detected by the Social News Center plugin and that an additional Authorization is required within the plugin via the ‘Login’ button.
Partial results – please note that the social network API’s used by this plugin do not provide access to all posts and data e.g. Twitter quotes “Please note that Twitter’s search service and, by extension, the Search API is not meant to be an exhaustive source of Tweets. Not all Tweets will be indexed or made available via the search interface.”.
Posts per Account – changing this setting can sometimes not have an immediate effect due to results being cached. Reducing the value is impacted less than increasing the value as only the cached results will be displayed until it either expires or is manually emptied via the settings page.
Shortcode – the WordPress shortcode placed with Pages or Posts should only be edited in ‘Text’ mode as ‘Visual’ mode can add extra HTML coding that stops affects the shortcode syntax.
Update delays – sometimes there can be delays in posts, comments and actions becoming available through API’s which can vary between social media networks and times of the day.