Giter VIP home page Giter VIP logo

laterpost's Introduction

Laterpost (NOT MAINTAINED ANYMORE)

Open source platform for scheduling twitter status updates.

Installation

Step 1: Clone the repo

git clone https://github.com/mrgodhani/laterpost

Step 2: Prerequisites

This will install the dependencies of this website. It will pull in several packages like Lumen Framework, Vue, Vueify, vue-router, gulp and Laravel Elixir (this is just magic syntactical sugar for gulp, basically).

composer install
php artisan migrate
php artisan jwt:secret
npm install

Step 3: Run Gulp

gulp --production

Step 4: Configure environment variables

Configure environment variables and add keys for Twitter. Just copy .env.example file by executing command cp .env.example .env . In my case I used Amazon S3 for temporary storing uploaded images. But please free feel to use any driver you want.

TWITTER_CLIENT_ID=
TWITTER_CLIENT_SECRET=
TWITTER_CLIENT_CALLBACK=

BITLY_KEY=
BITLY_SECRET=
BITLY_REDIRECT_URI=

AMAZON_KEY=
AMAZON_SECRET=
AMAZON_BUCKET=
AMAZON_REGION=

Step 5: Serve

php artisan serve

For scheduling posts and queues setup cronjob as following:

* * * * * php /path/to/artisan schedule:run >> /dev/null 2>&1

You also have to setup queue driver in your .env file and also configure supervisor to run worker to watch that specific tube.

QUEUE_DRIVER=beanstalkd

Configuring supervisor example:

[program:laravel-worker]
process_name=%(program_name)s_%(process_num)02d
command=php /home/forge/app.com/artisan queue:work beanstalkd --sleep=3 --tries=3 --daemon
autostart=true
autorestart=true
user=forge
numprocs=8
redirect_stderr=true
stdout_logfile=/home/forge/app.com/worker.log

Features

  • Multi account for twitter
  • Email and password login
  • Scheduling twitter status updates to multiple account
  • Managing connected social media accounts and other account settings (i.e password change, timezone change and email update)
  • Sending twitter update with image (Currently supports 1 image upload only)
  • Character counting similar to twitter
  • Editing scheduled tweets
  • URL Shorterner feature (bit.ly integration)
  • Multi image upload
  • Slack integration to notify user when all pending scheduled queues are empty.
  • Integrating Facebook

Linkedin apparently cannot be integrated because of limitation of API availability.

Demo and Live application

img img

Support / Contribution

Please feel free to give suggestion or report bug by creating issue or letting me know on twitter @mrgodhani.

laterpost's People

Contributors

mrgodhani avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

laterpost's Issues

bunch of "deprecated" message during the build

deprecated [email protected]: ๐Ÿ™Œ  Thanks for using Babel: we recommend using babel preset-env now: please read babeljs.io/env to update!

deprecated [email protected]: gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5

deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue

deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue

deprecated [email protected]: gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5

deprecated [email protected]: No longer sponsored by CT - please visit http://niftylettuce.com for more info

deprecated [email protected]: please upgrade to graceful-fs 4 for compatibility with current and future versions of Node.js

deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue

deprecated [email protected]: please upgrade to graceful-fs 4 for compatibility with current and future versions of Node.js

deprecated [email protected]: This module relies on Node.js's internals and will break at some point. Do not use it, and update to [email protected].

No big deal - just feedback...

Issue

hello im Getting this issue by inserting the queue code into the env file, please see my details below Fatal error: Uncaught exception 'ReflectionException' with message 'Class log does not exist' in /home/forge/post.yosoft.co.uk/bootstrap/cache/compiled.php:1341 Stack trace: #0 /home/forge/post.yosoft.co.uk/bootstrap/cache/compiled.php(1341): ReflectionClass->__construct('log') #1 /home/forge/post.yosoft.co.uk/bootstrap/cache/compiled.php(1295): Illuminate\Container\Container->build('log', Array) #2 /home/forge/post.yosoft.co.uk/bootstrap/cache/compiled.php(1857): Illuminate\Container\Container->make('log', Array) #3 /home/forge/post.yosoft.co.uk/bootstrap/cache/compiled.php(1396): Illuminate\Foundation\Application->make('Psr\Log\LoggerI...') #4 /home/forge/post.yosoft.co.uk/bootstrap/cache/compiled.php(1373): Illuminate\Container\Container->resolveClass(Object(ReflectionParameter)) #5 /home/forge/post.yosoft.co.uk/bootstrap/cache/compiled.php(1359): Illuminate\Container\Container->getDependencies(Array, Array) #6 /home/forge/post.yosoft.co.uk/bootstrap/cache/compiled.php(1295): Illuminate\Container\Container->build('La in /home/forge/post.yosoft.co.uk/bootstrap/cache/compiled.php on line 1341

CredentialsException in Server.php line 412

Hello @mrgodhani
Thanks for this app, Trying to install it, When i click to connect a twitter account I got this error:
I add already the Twitter clien ID and secret. Any idea, how to fix it ?

CredentialsException in Server.php line 412: Received HTTP status code [401] with message "<?xml version="1.0" encoding="UTF-8"?> <hash> <error>Desktop applications only support the oauth_callback value 'oob'</error> <request>/oauth/request_token</request> </hash> " when getting temporary credentials.

Regards.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.