Skip to content

Twitter execute script from bug fix#201

Open
tapankumar wants to merge 2 commits intoLullabot:mainfrom
tapankumar:master
Open

Twitter execute script from bug fix#201
tapankumar wants to merge 2 commits intoLullabot:mainfrom
tapankumar:master

Conversation

@tapankumar
Copy link

This PR is for #199 bug and as per @BrunoViera request.

if (!empty($matches[1])) {
$tweet_id = $matches[1];
//$tweet_id = $matches[1];
$tweet_id = strtok($matches[1], "?");

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please take care with the indentation

if (preg_match('&(*UTF8)twitter.com/.*/status(?:es)?/([^/]+)&i', $href, $matches)) {
if (!empty($matches[1])) {
$tweet_id = $matches[1];
//$tweet_id = $matches[1];

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you can delete this comment line.

@BrunoViera
Copy link

Thanks @tapankumar !

@jvrdom
Copy link
Contributor

jvrdom commented Oct 30, 2017

@sidkshatriya can you merge this PR?

Thanks!

@BrunoViera
Copy link

Hey @Lullabot, @sebastianbenz, could you merge this PR ?

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants