[nodebb-plugin-pushbullet] Push Notifications for NodeBB
-
@julian i was missing "http://" now working smooth
And now i'm getting notifications from this one too, sweet! -
Got it working in our prod-env now. I have no idea why I couldn't get it started in stage.
Anyhow happy!
-
@julian the settings page is working, but I still don't receive notifications.
I think I have narrowed the problem down.
The enabled check is looking for a numerical value:
parseInt(results.settings[index]['pushbullet:enabled'], 10) === 1
The data from the db contains a string value (I disabled and enabled notifications multiple times to make sure it's always a string):
settings: [ { 'pushbullet:enabled': 'true', 'pushbullet:target': '' } ]
-
Anyone else having issues with Pushbullet spinning and not accepting after setup?
-
@Ted
I had the same problem for our stage environment. When I tried prod it worked. Both are exposed to Internet. I haven't the slightest idea why.
-
Hi, is this plugin working?? I am banging my head now
Step 1#
After creating my OAuth client (https://www.pushbullet.com/create-client)
I need help here, which is the client id / secret ?
1 =
2 = ?Step #2
Next, i clicked on the oauth test url:
Step 3
3: is this url formed correctly?
ps: Do i need to open certain ports on my server?
-
Ouch, looks like pushbullet revamped their OAuth client creation page... doesan't look that good right now.
In any case, seems #2 is the OAuth ID and #1 is the secret. As for #3, it should return a code, no clue why it doesn't at the moment. Will have to do some testing and see.
Edit: @Silvina can you download 1.1.8 of the plugin and try associating your account again while you are in development mode (start NodeBB via
./nodebb dev
)? The plugin should now output a debug message when you click "associate" -
I'm still having the issue with Pushbullet just spinning when trying to accept the asociation.
This is output in the console when running in dev.
info: [plugins/pushbullet] New association, redirecting user to: https://www.pushbullet.com/authorize?client_id=%ClientID%FromACP&redirect_uri=https%253A%252F%252Fdomain.tld%252Fpushbullet%252Fauth&response_type=code
Followed by:
route requested but not found /pushbullet/pushbullet/settings
Edit: Running latest of plugin on 0.5.2
-
@julian swapped and restarted
the oauth test url from pushbullet. not too sure if you can access it here.
https://www.pushbullet.com/authorize?client_id=Wyna2jTkLbp5mOmcvxDPtMiFzfMkxrtV&redirect_uri=https%3A%2F%2Fwww.gameredge.org%2Fpushbullet%2Fauth&response_type=token&scope=everything
-
@Silvina said:
@julian swapped and restarted
https://www.pushbullet.com/authorize?client_id=Wyna2jTkLbp5mOmcvxDPtMiFzfMkxrtV&redirect_uri=https%3A%2F%2Fwww.gameredge.org%2Fpushbullet%2Fauth&response_type=token&scope=everything
Mine looks quite similar.
I've attempted to swap the keys around - in which case you can't even access the Approve / Deny screen (for obvious reasons - misconfiguration). The proper configuration simply spins.