mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig-portal.git
synced 2025-12-11 06:46:47 +00:00
twitter bot added
This commit is contained in:
@@ -21,10 +21,10 @@ class CourseObserver
|
||||
if (config('feeds.services.twitterAccountId')) {
|
||||
$this->setNewAccessToken(1);
|
||||
|
||||
$text = sprintf("Unser Dozent %s hat einen neuen Kurs eingestellt:\n\n%s\n\n%s\n\n%s\n\n#Bitcoin #Kurs #Education #Einundzwanzig",
|
||||
$text = sprintf("Unser Dozent %s hat einen neuen Kurs eingestellt:\n\n%s\n\n%s\n\n%s\n\n#Bitcoin #Kurs #Education #Einundzwanzig #gesundesgeld",
|
||||
$course->lecturer->name,
|
||||
$course->name,
|
||||
str($course->description)->limit(100),
|
||||
str($course->description)->limit(80),
|
||||
url()->route('school.landingPage.lecturer',
|
||||
['country' => 'de', 'lecturer' => $course->lecturer]),
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user