이 플러그인은 최근 3개의 주요 워드프레스 출시와 시험 되지 않았습니다. 워드프레스의 좀 더 최근 버전으로 이용할 때 더 이상 관리되지 않고 지원되지 않고 호환성 문제가 있을 수 있습니다.

Social Media Aggregator

설명

The Social Media Aggregator will pull content from various social media channels and aggregate them into WordPress, which you can then add into your templates. The various channels include:

  • Facebook
  • Twitter
  • YouTube
  • Vimeo
  • Instagram
  • RSS Feeds

Content is pulled into a custom post type, tagged with the source type (Facebook, Twitter, etc.), and updated on a daily WP-cron schedule. You don’t have to use all the channels, the settings page will allow you to choose which channel(s) you would like to use. The settings page also allows you to provide any access tokens and screen names that are required.

An options page allows you to manually fetch the content without having to wait for the daily cron to run. You can also reset the feeds and this will add all available content the next time the feeds are fetched, and not check for duplicate entries.

Displaying the content using a shortcode:

Most basic:
[imsa]

You can adjust the number of columns (1 – 9) and pass the source types as follows:
[imsa cols=4 source_types=’facebook,instagram,vimeo,youtube’]

If you need more control, you can grab the raw data in either PHP or making an Ajax call. Here are the examples:

In PHP

$imsa->get_feeds();                             // this will return the complete list, organized by source type
$imsa->get_feeds(array('facebook', 'youtube')); // this will return only the channels you provide in an array, organized by source type. all available source types can be found below.

In Javascript

Grabbing the data in the front-end closely follows the WP Ajax way.

There will be a global variable called IMSA that contains the URL to call when making Ajax calls.

Example:

var feeds = ['facebook', 'instagram']; // all available source types can be found below.

$.ajax({
    url: IMSA.ajaxurl,
    data: {
        type: 'GET', // must be the default type of GET
        action: 'get_feeds', // the method to call
        feeds: feeds // pass an array if you want to be more selective of which channel you want, remove property completely if you want all
    }
}).done (function (result) {
    console.log (result); // the result will contain an object called feeds, with data organized by their social channel
});

If you’re not using Ajax to fetch the data, you can remove the global Javascript var to keep your HTML clean. Do this by adding define('IMSA_LOAD_SCRIPTS', false); into your wp-config.php file.

If you still want to use Ajax but only load the global Javascript var on specific pages, you can still add define('IMSA_LOAD_SCRIPTS', false); into your wp-config.php and then load the script by calling $imsa->load_scripts(); on the specific page(s).

Available source types:

  • facebook
  • twitter
  • youtube
  • vimeo
  • instagram
  • rss

스크린샷

  • This is the settings page.

설치

  1. Upload the im-social-aggregator folder to your /wp-content/plugins/ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. Look for the “Social Content” menu on the sidebar, click on “Settings”, and enable and add your access tokens to the social channel you want to aggregate.

FAQ

Once the social feeds are in WordPress, how do I use them?

Use the shortcode [imsa] on your page or post.

후기

2016년 9월 3일
Just uploading this to my plugin directory got me an Internal Server Error. Out of date and broken.
모든 2 평가 읽기

기여자 & 개발자

“Social Media Aggregator”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에 기여하였습니다.

기여자

자국어로 “Social Media Aggregator”(을)를 번역하세요.

개발에 관심이 있으십니까?

코드 탐색하기는, SVN 저장소를 확인하시거나, 개발 기록RSS로 구독하세요.

변경이력

0.2

  • First version of plugin submitted to the Plugins directory.

1.1

  • Tested plugin with WordPress 4.0, updated version numbers to match stable tag.

1.2

  • Only matching versions across SVN tags and plugin version.