Comments (7)
When i was commenting out twitter i accidentally caught the first bracket as well. now the script runs and doesn't show any error but its also not posting anything from Tumblr as i setup. any way to get a more verbose output and figure out what might be going on on that front?
from mastodon-bot.
Just to be sure it was doing anything i at least did some snooping with tcpdump. I can see the bot call out to the tumblr pages ive setup so its at least trying. Cant figure out why its not actually posting anything to the mastodon instance though.
EDIT: i went ahead and uncommented the default RSS settings and those posted just fine so for some reason its only tumblr that is not pulling in posts any idea what could cause no errors but still not get anything?
from mastodon-bot.
Hmm, I'll have to take a look. I haven't been using Tumblr functionality myself so maybe the API changed since I added it in.
from mastodon-bot.
Hey thanks for the quick reply, Starting to think its just something else about my setup. Twitter api got approved and that does not appear to be working either i randomly got it to finally post a single post from one of the tumblrs and then never again. only the RSS seems to work and i cant figure out why. Here is my config for reference
:twitter {:access-keys
{:consumer_key "keyhere"
:consumer_secret "keyhere"
:access_token_key "keyhere"
:access_token_secret "keyhere"}
;; optional, defaults to false
:include-replies? false
;; optional, defaults to false
:include-rts? false
;; accounts you wish to mirror
:accounts ["zedrinbot"]}
;; add Tumblr config to mirror Tumblr accounts
:tumblr {:access-keys
{:consumer_key "keyhere"
:consumer_secret "keyhere"
:token "keyhere"
:token_secret "keyhere"}
;; optional limit for number of posts to retrieve, default: 5
:limit 1000
:accounts ["cyberpunky.tumblr.com" "scipunk.tumblr.com"]}
;; add RSS config to follow feeds
:rss {"Hacker News" "https://hnrss.org/newest"
"r/Clojure" "https://www.reddit.com/r/clojure/.rss"}
:mastodon {:access_token "keyhere"
:api_url "https://art.kitsuna.net/api/v1/"
;; optional boolean to mark content as sensitive
:sensitive true
;; optional visibility flag: direct, private, unlisted, public
;; defaults to unlisted
:visibility "public"
;; optional limit for the post length
:max-post-length 300
;; optional flag specifying wether the name of the account
;; will be appended in the post, defaults to false
:append-screen-name? false
;; optional signature for posts
:signature "#mediabot"
;; optionally try to resolve URLs in posts to skip URL shorteners
;; defaults to false
:resolve-urls? true
;; optional content filter regexes
;; any posts matching the regexes will be filtered out
;; :content-filters ["."]
;; optional keyword filter regexes
;; any posts not matching the regexes will be filtered out
;; :keyword-filters []
}}```
from mastodon-bot.
Oh, I think I know what might be happening here. The bot checks the timestamp on the last post from Mastodon, and then only posts things that are after that to avoid reposting old content. In case there aren't any posts, the time defaults to now. So, any older Tumbler/Twitter posts will get filtered out by that.
from mastodon-bot.
Perfect! that appears to have been it didn't realize it wouldn't back pull but it makes sense now that i think about it. Maybe just mention it in the readme to avoid more people like me :P Thanks for the help
from mastodon-bot.
Good idea, I'll add a note as it's not really obvious in retrospect. :)
from mastodon-bot.
Related Issues (20)
- optimizations cause runtime crash HOT 6
- double-check 'media-only' works HOT 2
- allow reading credentials from a separate file HOT 3
- Security: Inspect dependencies for this three packages HOT 4
- Installation failed HOT 25
- switch from using raw promises and deasync to core.async promise API HOT 2
- Find better CI-automation HOT 26
- Visibility always set to unlisted HOT 2
- publish releases to npmjs HOT 9
- Lack of clarity on how to run the application HOT 2
- Running bot ends with no output HOT 9
- Provide mastodon-bot as docker container HOT 4
- Unexpected EOF HOT 4
- Provide schema as jar HOT 4
- Map literals must contain an even number of forms. HOT 3
- Bot runs forever but no content posted HOT 2
- Sync gitlab with github HOT 2
- Privacy for youtube / instagram / reddit links
- Help on create Twitter API HOT 7
- LICENSE file missing from root directory HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mastodon-bot.