PHPackages                             dario\_swain/wall-poster-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. dario\_swain/wall-poster-bundle

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

dario\_swain/wall-poster-bundle
===============================

Wall posting for social groups

151.5k5[1 issues](https://github.com/DarioSwain/WallPosterBundle/issues)PHP

Since Aug 9Pushed 11y ago6 watchersCompare

[ Source](https://github.com/DarioSwain/WallPosterBundle)[ Packagist](https://packagist.org/packages/dario_swain/wall-poster-bundle)[ RSS](/packages/dario-swain-wall-poster-bundle/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

WallPosterBundle
================

[](#wallposterbundle)

The **WallPosterBundle** bundle allows you to post your site news in your social groups, pages or timelines.

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

[](#installation)

Add this bundle to your `composer.json` file:

```
{
    "require": {
        "dario_swain/wall-poster-bundle": "dev-master"
    }
}

```

You should browse [`dario_swain/wall-poster-bundle`](https://packagist.org/packages/dario_swain/wall-poster-bundle)page to choose a stable version to use, avoid the `@stable` meta constraint.

Register the bundle in `app/AppKernel.php`:

```
// app/AppKernel.php
public function registerBundles()
{
    return array(
        // ...
        new new WallPosterBundle\WallPosterBundle(),
    );
}

```

Import the routing definition in `routing.yml`:

```
# app/config/routing.yml
WallPosterBundle:
    resource: "@WallPosterBundle/Resources/routing/routing.yml"

```

This route (/wall-poster/captcha) used for enter captcha value if [`vk.com`](http://vk.com/)block your api requests

Enable the bundle's configuration in `app/config/config.yml`:

```
# app/config/config.yml
wall_poster:
    vk:
        access_token: VK_STANDALONE_APPLICATION_ACCESS_TOKEN
        group_id: VK_GROUP_ID
    facebook:
        access_token: FACEBOOK_ACCESS_TOKEN
        app_id: FACEBOOK_APPLICATION_ID
        app_secret: FACEBOOK_APPLICATION_SECRET
        page: FACEBOOK_PAGE_ID
    twitter:
        api_key: TWITTER_APP_KEY
        api_secret: TWITTER_APP_SECRET
        access_token: TWITTER_ACCESS_TOKEN
        access_secret:  TWITTER_ACCESS_TOKEN_SECRET

```

Usage
-----

[](#usage)

You can publish your posts in social networks, for use this you can use special wall-poster services.

### Post

[](#post)

Create `WallPosterBundle\Post\Post` for publisher

```
