Jump to content

Tweet Workflow?


Recommended Posts

  • 5 months later...
  • 5 years later...
  • 3 months later...

As of March 2019, this workflow still works as expected from El Capitan all the way to macOS Mojave. :) 

 

If you're having any issues with the workflow, please ensure that you check the debug log, and provide details of the errors so that we can help you further.

 

Cheers,
Vero

Link to comment
  • 1 month later...

@polle Could you please take a look at the debug log to see whether it reports any errors?

 

Which version of Alfred, macOS and the workflow are you using?

 

Also, on the Twitter website, if you go to your settings > Apps, is AlfredTweet now added as an app with permissions?

 

The more information you can provide, the easier it'll be for us to help you, as this workflow should still be working fine :)

 

Cheers,
Vero

Link to comment

Sure, here is the info.

Alfred: 3.8.1

macOS: Mojave 10.14

Log:

Starting debug for 'AlfredTweet'

[2019-04-30 10:49:00][input.keyword] Processing output of 'action.script' with arg ''
[2019-04-30 10:49:00][action.script] Processing output of 'output.notification' with arg 'Continuing login at AlfredTweet home page.'

1- Setup Alfred Tweet

2- Authenticate (http://alfredtweet.dferg.us)

3- Authorise (twitter.com)

4- Page returns to authenticate (oauth_token and oauth_verifier in URL)

5- Nothing happens...

 

Thanks for your help.

Link to comment

I changed default browser to other than Safari and now the code shows up, copy code then: "alfredtweet" "space" "paste" "enter" = Settings saved. AlfredTweet is ready to go!

Now it works!

This in the log:
 

[2019-04-30 11:04:08][input.scriptfilter] <?xml version="1.0"?>
<items><item uid="tweet" arg="Alfred tweet test 2!" valid="yes"><title>Tweet: Alfred tweet test 2!</title><subtitle>Remaining: 120. Press Cmd+Enter to send.</subtitle><icon>icon.png</icon></item></items>
[2019-04-30 11:04:12][input.scriptfilter] Processing output of 'action.script' with arg 'Alfred tweet test 2!'
[2019-04-30 11:04:13][ERROR: action.script] mkdir: /Users/user/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data: No such file or directory
mkdir: /Users/user/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data: No such file or directory
[2019-04-30 11:04:13][action.script] Processing output of 'output.notification' with arg 'Tweeted: Alfred tweet test 2!'

Is that something that needs to be fixed?

 

Also, it asks for command + enter to send, is there a way to change that to only enter?

 

Thanks.

Link to comment
1 hour ago, polle said:

Is that something that needs to be fixed?

 

Well you can see from the log that it's trying and failing to save its data to an old Alfred 2 directory that doesn't exist.

 

Try running this command in Terminal and see if the workflow works then:

 

mkdir -p ~/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow\ Data

 

 

Link to comment
5 hours ago, deanishe said:

 

Well you can see from the log that it's trying and failing to save its data to an old Alfred 2 directory that doesn't exist.

 

Try running this command in Terminal and see if the workflow works then:

 

mkdir -p ~/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow\ Data

 

 

Thank you.

 

It actually works, but the error shows up in the log.

Anyone else can confirm this happens in the log?

Edited by polle
Link to comment
28 minutes ago, polle said:

Anyone else can confirm this happens in the log?

 

It will be happening to everyone who doesn’t still have their old Alfred 2 directory.

 

Older workflows had to hardcore their data and cache directories. They then often broke on systems that no longer had the old directories.

 

It breaks some workflows more than others, but if the workflow is trying to create its cache directory, it likely also wants to use it.

Link to comment
  • 4 weeks later...

Hi everyone,

Every time I try to fetch my mentions in the latest V2 of this workflow it tries to fetch them and afterwards...nothing happens.

Is this normal?

I am on Mojave 10.14.4

Many thanks for your help.

Santiago

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...