• Twitter App.

    From KK4QBN@1:103/705 to Echicken on Thu Aug 3 06:10:08 2017
    Whats up man.


    I know this app is still in development, but it is cool as siht,

    I have everything set to spec, yet it is not posting to my twitter feed that i have created for the BBS... bertty berry heartbreaking..

    Here is some debug:

    sbbs@kk4qbn:/sbbs/exec$ ./jsexec ../xtrn/twitter/tweet.js This is a test tweet from KK4QBN BBS.. AI, Here we come!

    JSexec v3.17a-Linux (rev 1.184) Debug - Execute Synchronet JavaScript Module Compiled Jul 11 2017 01:21:45 with GCC 6.3.0

    Loading configuration files from /sbbs/ctrl/
    JavaScript-C 1.8.5 2011-03-31
    JavaScript: Creating runtime: 8388608 bytes
    JavaScript: Initializing context (stack: 16384 bytes)

    Reading script from /home/sbbs/sbbs/exec/../xtrn/twitter/tweet.js /home/sbbs/sbbs/exec/../xtrn/twitter/tweet.js compiled in 0.00 seconds cryptPopData() returned -24
    /home/sbbs/sbbs/exec/../xtrn/twitter/tweet.js executed in 0.26 seconds

    JavaScript: Destroying context


    Thanks for any and all help you can give!












    --

    Tim Smith (KK4QBN)
    KK4QBN BBS

    ---
    * Synchronet * KK4QBN - kk4qbn.synchro.net - 7064229538 - Chatsworth GA USA
    * Origin: Vertrauen - vert.synchro.net (1:103/705)
  • From Android8675@1:103/705 to KK4QBN on Wed Aug 9 08:13:00 2017
    Re: Twitter App.
    By: KK4QBN to Echicken on Thu Aug 03 2017 06:10 am

    cryptPopData() returned -24

    First guess would be you didn't copy the correct API Keys to the correct fields. I'd double check at https://apps.twitter.com, login to your BBS account, select your app for the BBS, click Keys and Access Tokens.

    modopts.ini needs 4 keys...

    [twitter]
    consumer_key =
    consumer_secret =
    access_token =
    access_token_secret =

    First two are under Application Settings header
    the Access token is under "Your Access Token"

    I'd load modopts.ini into a good text editor like notepad++, or something that shows spaces, tabs, CR/LFs, etc. Make sure something isn't getting autocorrected when you paste in the data.


    ... The purpose of computing is insight, not numbers.

    ---
    * Synchronet * Shodan's Core @ ShodansCore.com (Port 2323 for Nethack)
    * Origin: Vertrauen - vert.synchro.net (1:103/705)
  • From KK4QBN@1:103/705 to Android8675 on Wed Aug 9 21:12:38 2017
    Re: Twitter App.
    By: Android8675 to KK4QBN on Wed Aug 09 2017 08:13:00

    First guess would be you didn't copy the correct API Keys to the correct fields. I'd double check at https://apps.twitter.com, login to your BBS account, select your app for the BBS, click Keys and Access Tokens.

    I had one the API key miskeyed, it works like a champ now, thanks for yor help.

    --

    Tim Smith (KK4QBN)
    KK4QBN BBS

    ---
    * Synchronet * KK4QBN - kk4qbn.synchro.net - 7064229538 - Chatsworth GA USA
    * Origin: Vertrauen - vert.synchro.net (1:103/705)
  • From Android8675@1:103/705 to KK4QBN on Thu Aug 10 09:06:32 2017
    Re: Twitter App.
    By: KK4QBN to Android8675 on Wed Aug 09 2017 09:12 pm

    I think it's pretty cool. What I'm working on is making milestone posts, so like if someone plays Zork it'll post their score upon exit. (Really want to focus on Interactive Fiction in my doorgame area.)


    ... A great deal of money is never enough once you have it.

    ---
    * Synchronet * Shodan's Core @ ShodansCore.com (Port 2323 for Nethack)
    * Origin: Vertrauen - vert.synchro.net (1:103/705)
  • From KK4QBN@1:103/705 to Android8675 on Sun Aug 13 12:14:22 2017
    Re: Twitter App.
    By: Android8675 to KK4QBN on Thu Aug 10 2017 09:06:32

    I think it's pretty cool. What I'm working on is making milestone posts, so like if someone plays Zork it'll post their score upon exit. (Really want to focus on Interactive Fiction in my doorgame area.)

    I'm trying to do the same, without infringingin on the users privacy.. door updates, logins, logouts.. etc.. nothing more than any of the other stats will show.

    I still have issues from time to time with my formatting and syntax in JS to get everything the way I want. But it's been fairly successful so-far.

    I'm thinking of patching the SyncWx Remix, and weather data apps to post the users weather also, I've still not been able to decipher everyting, but think it will not be too hard once I get the time to really devote to it.

    --

    Tim Smith (KK4QBN)
    KK4QBN BBS

    ---
    * Synchronet * KK4QBN - kk4qbn.synchro.net - 7064229538 - Chatsworth GA USA
    * Origin: Vertrauen - vert.synchro.net (1:103/705)