Add (facebook)
This commit is contained in:
@@ -7,9 +7,21 @@
|
||||
use Illuminate\Http\Request;
|
||||
use LaravelFreelancerNL\LaravelIndexNow\Facades\IndexNow;
|
||||
use LaravelGoogleIndexing;
|
||||
use App\Models\Post;
|
||||
|
||||
use Illuminate\Support\Facades\Notification;
|
||||
use App\Notifications\PostWasPublished;
|
||||
|
||||
class TestController extends Controller
|
||||
{
|
||||
|
||||
public function notification(Request $request)
|
||||
{
|
||||
$post = Post::find(1);
|
||||
|
||||
Notification::route('facebook','default')->notify(new PostWasPublished($post));
|
||||
}
|
||||
|
||||
public function imageGen(Request $request)
|
||||
{
|
||||
$image_url = 'https://cdn.futurewalker.co/post_images_2/whats-next-for-openai-after-ceo-sam-altmans-ouster-1700439234754.jpg';
|
||||
|
||||
Reference in New Issue
Block a user