PHPackages                             florianklee/social-feed-bundle - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. florianklee/social-feed-bundle

ActiveSymfony-bundle[Utility &amp; Helpers](/categories/utility)

florianklee/social-feed-bundle
==============================

collecting posts from all type of social feeds like twitter, instagram, facebook for multiple user accounts.

v1.0.3(9y ago)06MITPHP

Since Sep 5Pushed 9y agoCompare

[ Source](https://github.com/FlorianKlee/GenjSocialFeedBundle)[ Packagist](https://packagist.org/packages/florianklee/social-feed-bundle)[ Docs](http://github.com/genj/GenjSocialFeedBundle)[ RSS](/packages/florianklee-social-feed-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (10)Versions (7)Used By (0)

GenjSocialFeedBundle
====================

[](#genjsocialfeedbundle)

The GenjSocialFeedBundle. Features:

- Scrape social posts from Twitter, Instagram &amp; Facebook pages.
- Display most recent posts

Requirements
------------

[](#requirements)

- Symfony 2.5
- PHP 5.4
- GedmoDoctrineExtensions -
- themattharris/tmhoauth
- facebook/php-sdk-v4
- php-instagram-api/php-instagram-api

Installation
------------

[](#installation)

Add this bundle and the facebook/instagram/twitter libraries to your composer.json:

```
    ...
    "require": {
        ...
        "genj/social-feed-bundle": "dev-master"
        ...

```

Then run `composer update`. After that is done, enable the bundle in your AppKernel.php:

### General

[](#general)

```
# app/AppKernel.php

class AppKernel extends Kernel
{

    public function registerBundles() {

        $bundles = array(
            ...
            new Genj\SocialFeedBundle\GenjSocialFeedBundle()
            ...

```

Update your database schema:

```
php app/console doctrine:schema:update --force

```

Configuration
-------------

[](#configuration)

Copy the social\_feed.yml.dist to app/config/social\_feed.yml Add all the needed configurations. Remove the providers that you don't need.

Check all Possible configuration by dumping the config

```
app/console config:dump-reference GenjSocialFeedBundle

```

Add your basic API tokens to your parameters.yml by adding this to your parameters.yml.dist

```
genj_social_feed.twitter.consumer_key: null
genj_social_feed.twitter.consumer_secret: null
genj_social_feed.twitter.user_token: null
genj_social_feed.twitter.user_secret: null

genj_social_feed.facebook.app_id: null
genj_social_feed.facebook.app_secret: null
genj_social_feed.facebook.client_token: null

genj_social_feed.instagram.client_id: null

```

and then run the install command of composer

```
php composer.phar install

```

Your config.yml will look like this: (Leave out the providers that you don't use)

```
genj_social_feed:
    oAuth:
        twitter:
            consumer_key:    %genj_social_feed.twitter.consumer_key%
            consumer_secret: %genj_social_feed.twitter.consumer_secret%
            user_token:      %genj_social_feed.twitter.user_token%
            user_secret:     %genj_social_feed.twitter.user_secret%
        facebook:
            app_id:          %genj_social_feed.facebook.app_id%
            app_secret:      %genj_social_feed.facebook.app_secret%
            client_token:    %genj_social_feed.facebook.client_token%
        instagram:
            client_id:       %genj_social_feed.instagram.client_id%
    feed_users:
        twitter:
            - nicokaag
        facebook:
            - nicokaag
        instagram:
            - nicokaag

```

Add the needed vich mapping configuration to your config.yml

```
...
vich_uploader:
    ...
    mappings:
        ...
        genj_socialfeed_post_file:
            uri_prefix:         /uploads/genjsocialfeedpost
            upload_destination: %kernel.root_dir%/../web/uploads/genjsocialfeedpost
            namer:              vich_uploader.namer_origname
            inject_on_load:     true
        genj_socialfeed_post_author_file:
            uri_prefix:         /uploads/genjsocialfeedpostauthor
            upload_destination: %kernel.root_dir%/../web/uploads/genjsocialfeedpostauthor
            namer:              vich_uploader.namer_origname
            inject_on_load:     true

```

If you want to make use of the JSON api call to get the social posts, add the following routing:

```
genj_social_feed_posts_get:
    pattern:  /api/social-feed/posts
    defaults:
        _controller: GenjSocialFeedBundle:SocialFeed:getPosts
        _format: ~
        max: 5
        provider: ""
    requirements:
        _method: GET
        max: '^\d+$'

```

Run feed scraper task
---------------------

[](#run-feed-scraper-task)

```
php app/console genj:social-feed --provider=facebook

```

provider can be:

- facebook
- twitter
- instagram

ToDo
----

[](#todo)

- Add tests

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~146 days

Recently: every ~103 days

Total

6

Last Release

3533d ago

Major Versions

v1.0.2 → 2.5.x-dev2016-09-05

### Community

Maintainers

![](https://www.gravatar.com/avatar/66e27220041988a63364e6012c4f7073c4ed950c0c3107b60f584a18dcbe4613?d=identicon)[FlorianKlee](/maintainers/FlorianKlee)

---

Top Contributors

[![nicokaag](https://avatars.githubusercontent.com/u/2652304?v=4)](https://github.com/nicokaag "nicokaag (6 commits)")[![choonge](https://avatars.githubusercontent.com/u/334814?v=4)](https://github.com/choonge "choonge (5 commits)")[![maartendekeizer](https://avatars.githubusercontent.com/u/1061334?v=4)](https://github.com/maartendekeizer "maartendekeizer (4 commits)")[![FlorianKlee](https://avatars.githubusercontent.com/u/20719626?v=4)](https://github.com/FlorianKlee "FlorianKlee (2 commits)")[![slaubi](https://avatars.githubusercontent.com/u/332298?v=4)](https://github.com/slaubi "slaubi (1 commits)")

---

Tags

bundlefeedSymfony2socialgenj

### Embed Badge

![Health badge](/badges/florianklee-social-feed-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/florianklee-social-feed-bundle/health.svg)](https://phpackages.com/packages/florianklee-social-feed-bundle)
```

###  Alternatives

[dmishh/settings-bundle

Database centric Symfony configuration management. Global and per-user settings supported.

115254.9k1](/packages/dmishh-settings-bundle)[pdir/social-feed-bundle

Social feed extension for Contao CMS

1414.8k](/packages/pdir-social-feed-bundle)[symfonyid/admin-bundle

Provide Admin Generator with KISS Principle

141.6k](/packages/symfonyid-admin-bundle)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
