via this package you can push notifications to [ Facebook , Twitter , Telegram , Linkedin ] ( Laravel )

Overview

Push To Social [ Facebook , Twitter , Telegram , Linkedin ]

via this package you can push notifications to [ Facebook , Twitter , Telegram , Linkedin ]

  • content
  • image ( Optional )
  • link ( Optional )
 
	(new SocialHelper($platforms=[],$content=[],$image='',$link=''))->push()

How To Push


	( new SocialHelper(
		['facebook','twitter','telegram','linkedin'],
		['Hello', 'Iam here','Message From Push to social'],
		'https://nafezly.com/site_images/title.png',
		'https://nafezly.com/'
	) )->push();

SocialHelper

You have to install


	composer require abraham/twitteroauth
	composer require facebook/graph-sdk
	composer require laravel-notification-channels/telegram

Migrations for laravel


	Schema::create('social_media_settings', function (Blueprint $table) {
        $table->bigIncrements('id');

        $table->text('facebook')->nullable();
        $table->text('twitter')->nullable();
        $table->text('linkedin')->nullable(); 
        $table->text('telegram')->nullable(); 

        $table->text('publish_settings')->nullable();

        $table->timestamps();
    });

  • Create Jobs folder inside app folder
  • Move all Jobs in the repo to Jobs Folder
  • Create Notifications Folder inside app folder For telegram
  • Move TeleNotification To Notifications folder
  • Move Routes , Models and Controllers To Your Project

Authorize Facebook And Linkedin

Seed Database

-facebook


	{
	   "FB_ACCESS_TOKEN":"",
	   "APP_ID":"",
	   "CLIENT_SECRET":"",
	   "PAGE_ID":"",
	   "REDIRECT_URL":"",
	   "PAGE_ACCESS_TOKEN":""
	}

-twitter


	{
	   "API_KEY":"",
	   "API_SECRET_KEY":"",
	   "BEARER_TOKEN":"",
	   "ACCESS_TOKEN":"",
	   "ACCESS_TOKEN_SECRET":""
	}

-linkedin


	{
	   "CLIENT_ID":"",
	   "CLIENT_SECRET":"",
	   "REDIRECT_URL":"",
	   "SCOPES":"r_emailaddress,r_basicprofile,w_member_social,w_organization_social,rw_organization_admin,rw_ads",
	   "CODE":"",
	   "ACCESS_TOKEN":"",
	   "REFRESH_ACCESS_TOKEN":"",
	   "ACCESS_TOKEN_EXPIRATION_DATE":"",
	   "PAGE_ID":""
	}

-telegram


	{
	   "TELEGRAM_BOT_TOKEN":""
	}

You might also like...
A wrapper around Spatie’s Browsershot for managing social share images (OGP, Twitter etc.)

Very short description of the package This package allows you to create dynamic social sharing images in your Laravel apps. It uses Spatie’s Browsersh

Twitter OAuth API for PHP 5.3+

README The Wid'op OAuth library is a modern PHP 5.3+ API allowing you to easily obtain a Twitter access token. For now, it supports OAuth Web & Applic

Log user authentication details and send new device notifications.
Log user authentication details and send new device notifications.

Laravel Authentication Log is a package which tracks your user's authentication information such as login/logout time, IP, Browser, Location, etc. as well as sends out notifications via mail, slack, or sms for new devices and failed logins.

:octocat: Socialite is an OAuth2 Authentication tool. It is inspired by laravel/socialite, you can easily use it without Laravel.

Socialite Socialite is an OAuth2 Authentication tool. It is inspired by laravel/socialite, You can easily use it in any PHP project. 中文文档 This tool no

Instantly login as user via a single button tap on dev environments.
Instantly login as user via a single button tap on dev environments.

Getting tired of always entering login details in local dev environments? This package adds a button to instantly login a user! Installation You can i

phpCAS is an authentication library that allows PHP applications to easily authenticate users via a Central Authentication Service (CAS) server.

phpCAS is an authentication library that allows PHP applications to easily authenticate users via a Central Authentication Service (CAS) server.

A Laravel 5 package for OAuth Social Login/Register implementation using Laravel socialite and (optionally) AdminLTE Laravel package

laravel-social A Laravel 5 package for OAuth Social Login/Register implementation using Laravel socialite and (optionally) AdminLTE Laravel package. I

This package helps you to associate users with permissions and permission groups with laravel framework
This package helps you to associate users with permissions and permission groups with laravel framework

Laravel ACL This package allows you to manage user permissions and groups in a database, and is compatible with Laravel v5.8 or higher. Please check t

This is a lightweight package that allows you assign roles and permissions to any Laravel model, or on a pivot table (many to many relationship).
This is a lightweight package that allows you assign roles and permissions to any Laravel model, or on a pivot table (many to many relationship).

Simple Laravel roles and permissions Introduction This package allows you to assign roles and permissions to any laravel model, or on a pivot table (m

Owner
Peter Tharwat
Peter Tharwat
Social OAuth Authentication for Laravel 5. drivers: facebook, github, google, linkedin, weibo, qq, wechat and douban

Social OAuth Authentication for Laravel 5. drivers: facebook, github, google, linkedin, weibo, qq, wechat and douban

安正超 330 Nov 14, 2022
Open source social sign on PHP Library. HybridAuth goal is to act as an abstract api between your application and various social apis and identities providers such as Facebook, Twitter and Google.

Hybridauth 3.7.1 Hybridauth enables developers to easily build social applications and tools to engage websites visitors and customers on a social lev

hybridauth 3.3k Dec 23, 2022
A simple twitter SDK to interact with Twitter api (1.1)

Twitter SDK Installation composer require lyrixx/twitter-sdk Usage Create a twitter application then <?php require __DIR__.'/vendor/autoload.php';

Grégoire Pineau 37 Aug 28, 2020
A Native PHP MVC With Auth. If you will build your own PHP project in MVC with router and Auth, you can clone this ready to use MVC pattern repo.

If you will build your own PHP project in MVC with router and Auth, you can clone this ready to use MVC pattern repo. Auth system is implemented. Works with bootstrap 5. Composer with autoload are implemented too for future composer require.

null 2 Jun 6, 2022
Login Menggunakan Google, Github, & Facebook

Login Oauth 2 Karena agak rumit untuk menjelaskan, ikuti tutorial berikut untuk mengatur CLIENTID dan CLIENTSECRET mu terlebih dahulu klik. Server Req

Fadhlurrahman 1 Nov 24, 2021
Tool termux untuk crack akun Facebook.

Facebook Cracker Elite Tool termux untuk crack akun Facebook. Cara Install Install cURL dan PHP untuk termux pkg up && pkg install curl && pkg ins

Ihsan Devs 3 Oct 20, 2022
Facebook strategy for Opauth

Opauth-Facebook Opauth strategy for Facebook authentication. Implemented based on https://developers.facebook.com/docs/authentication/ Getting started

Opauth – PHP Auth Framework 89 Dec 4, 2022
Creamos un inicio de sesión desde Facebook para nuestra aplicación web utilizando la librería de Socialite

About Laravel Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable and creative experie

Carlos Villatoro 2 May 23, 2022
The first PHP Library to support OAuth for Twitter's REST API.

THIS IS AN MODIFIED VERSION OF ABRAHAMS TWITTER OAUTH CLASS The directories are structured and the class uses PHP5.3 namespaces. Api.php has a new

Ruud Kamphuis 51 Feb 11, 2021
The most popular PHP library for use with the Twitter OAuth REST API.

TwitterOAuth The most popular PHP library for Twitter's OAuth REST API. See documentation at https://twitteroauth.com. PHP versions listed as "active

Abraham Williams 4.2k Dec 23, 2022