Remove comments from testing
This commit is contained in:
parent
a7dd02f144
commit
c25f2f349d
1 changed files with 4 additions and 5 deletions
|
@ -4,6 +4,7 @@ namespace App\Jobs;
|
||||||
|
|
||||||
use Twitter;
|
use Twitter;
|
||||||
use App\Note;
|
use App\Note;
|
||||||
|
use App\Place;
|
||||||
use App\Contact;
|
use App\Contact;
|
||||||
use Illuminate\Bus\Queueable;
|
use Illuminate\Bus\Queueable;
|
||||||
use Jonnybarnes\IndieWeb\Numbers;
|
use Jonnybarnes\IndieWeb\Numbers;
|
||||||
|
@ -72,11 +73,9 @@ class SyndicateToTwitter implements ShouldQueue
|
||||||
$tweetOpts['media_ids'] = implode(',', $mediaIds);
|
$tweetOpts['media_ids'] = implode(',', $mediaIds);
|
||||||
}
|
}
|
||||||
|
|
||||||
//$responseJson = Twitter::postTweet($tweetOpts);
|
$responseJson = Twitter::postTweet($tweetOpts);
|
||||||
//$response = json_decode($responseJson);
|
$response = json_decode($responseJson);
|
||||||
//$tweetId = $response->id;
|
$this->note->tweet_id = $response->id;
|
||||||
var_dump($tweetOpts);
|
|
||||||
$this->note->tweet_id = '55667788';
|
|
||||||
$this->note->save();
|
$this->note->save();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue