--- Log opened dom sep 04 00:00:16 2022 04:23 < fikabot_> 💬 friendica: Friendica 2022.09 Release Candidate available ( https://friendi.ca/2022/09/04/friendica-2022-09-release-candidate-available/ ) 07:39 < fikabot_> 💬 Hello, I am trying to activate the Twitter add-on on my Friendica server, and it seems like the "Call back URL" is required by Twitter now, though the instructions on Friendica say to leave it blank. Any help much appreciated, as I am a blind pig trying to navigate this stuff. 09:09 < fikabot_> 💬 Also, it seems like twitter deleted my new "developer" account since last weekend. What is the proper choice for "What is your use case" when signing up? and the proper description of what your app does, so as to not get flagged, or to receive the proper level API access? 11:00 < fikabot_> 💬 My app description is literally "This app was created to use the Twitter API." 11:00 < fikabot_> 💬 Are you accidentally going the Oauth2 route instead of the old route? 11:10 < fikabot_> 💬 > <@hank:myportal.social> My app description is literally "This app was created to use the Twitter API." 11:10 < fikabot_> 💬 11:10 < fikabot_> 💬 I am probably doing it wrong for sure. what is the proper way to access the API? 11:20 < fikabot_> 💬 > <@hank:myportal.social> Are you accidentally going the Oauth2 route instead of the old route? 11:20 < fikabot_> 💬 11:20 < fikabot_> 💬 Please forgive me, I don't know much in this field. Will the Twitter add-on work with read only Oath1? 11:20 < fikabot_> 💬 Well on the V1 route thing I do see that I had a callback that it sent credentials to so I just set up a temporary web server to intercept it 11:21 < fikabot_> 💬 You may be able to configure it to be read only but by default the bridge is bi-directional 11:24 < fikabot_> 💬 So, if I wan't to use the add-on fully bi-directional on my server, as it is on social.outsourcedmath.com what is the proper method of creating an app to generate keys? 11:26 < fikabot_> 💬 https://matrix.org/_matrix/media/v1/download/myportal.social/uSrrhJzGZTTXNRHmRFspnlGf 11:30 < fikabot_> 💬 https://matrix.org/_matrix/media/v1/download/matrix.optoutpod.com/eJzcbAuztgKiJONOoDURwAFb 11:31 < fikabot_> 💬 I don't currently have read and write permissions on my account. I have to apply to get more developer permissions, which was part of my original question. They ask you a bunch of questions when you apply for a developer account 11:32 < fikabot_> 💬 How do you not have read/write permissions on your Twitter Developer account? 11:32 < fikabot_> 💬 because I signed up to get access to the API as an academic, bc I am an academic 11:32 < fikabot_> 💬 aah 11:33 < fikabot_> 💬 They probably are throwing you into a category that gives you substantially more liberal API access rights for reading data 11:33 < fikabot_> 💬 at the expense of clamped down writing 11:33 < fikabot_> 💬 because the API limits for a non-enterprise account can be pretty anemic, but still far more than enough for a small Friendica instance in my experience 11:35 < fikabot_> 💬 If you go to here: https://developer.twitter.com/en/portal/projects/ 11:35 < fikabot_> 💬 and click on your project 11:36 < fikabot_> 💬 Down at the bottom is there an area that looks like: 11:36 < fikabot_> 💬 https://matrix.org/_matrix/media/v1/download/myportal.social/VIAtfjGoekQcMbVmtEibgIQl 11:36 < fikabot_> 💬 Ok, so I should sign up for "essential"? 11:36 < fikabot_> 💬 ok, this is very helpful. Thank you for your help and your dev work 11:37 < fikabot_> 💬 I don't remember what I signed up for it was so long ago. I'm just your average serf solo developer so whatever that free tier was :) 11:37 < fikabot_> 💬 > <@msdosfx:matrix.optoutpod.com> ok, this is very helpful. Thank you for your help and your dev work 11:37 < fikabot_> 💬 11:37 < fikabot_> 💬 You are welcome. 11:37 < fikabot_> 💬 I think I see what you are saying, that screenshot I shared earlier with the read, read/write, etc. permissions had different available options for you 11:38 < fikabot_> 💬 https://matrix.org/_matrix/media/v1/download/matrix.optoutpod.com/kXcrfYPsqAQCyvLoicXdgEWb 11:39 < fikabot_> 💬 When I select "read and write", and "web app or bot" I get the Callback URI is required. 11:40 < fikabot_> 💬 Yes that is correct 11:40 < fikabot_> 💬 you will need the callback 11:40 < fikabot_> 💬 Keep in mind I have no idea what a callback URI is 11:40 < fikabot_> 💬 It only has to exist to get the initial credentials 11:41 < fikabot_> 💬 Oh when the authentication succeeds that's where it will redirect to with all the credentials 11:41 < fikabot_> 💬 You ever use Google Single Sign on anywhere? 11:41 < fikabot_> 💬 Granted that is OAuth2 so it is a bit different workflow but it's similar enough for a top level discussion 11:42 < fikabot_> 💬 I am not sure. l am fairly degoogled, and as you might glean, I am not a programmer. I user Aegis for 2FA but I don't think that is what you are talking about 11:42 < fikabot_> 💬 No any sort of single sign on system 11:43 < fikabot_> 💬 You go to the website, you hit the button to say "login with" whichever...something magic happens and then the screen re-renders with you logged in 11:43 < fikabot_> 💬 Ok, I will do some independent research and get back to you so I don't waste your time. 11:43 < fikabot_> 💬 That last step happens when the other service's authentication system agrees that everything looks legit and then sends credentials to whereever the site you are trying to log into tells them to go 11:44 < fikabot_> 💬 Then the site saves them so it can use them again without you asking 11:44 < fikabot_> 💬 I solved that by setting up a server that would capture it and echo it so I could write it all down 11:44 < fikabot_> 💬 I don't know if there is an easy way for a non-developer since I never looked into it 11:44 < fikabot_> 💬 Ah, github has that, and google, and Tailscale uses github's single sign on. 11:45 < fikabot_> 💬 yep exactly 11:45 < fikabot_> 💬 Is there a way to use one an existing one, or I have to have something spun up on my server? 11:45 < fikabot_> 💬 I just wrote something quick and dirty that would sit on my callback URL and dump the header data so I colud read it 11:45 < fikabot_> 💬 Yeah you can use an existing one 11:46 < fikabot_> 💬 only need it long enough to complete the cycle once 11:46 < fikabot_> 💬 then you have the credentials forever 11:46 < fikabot_> 💬 In the OAuth1 case 11:47 < fikabot_> 💬 Friendica may have a place to send you that can do this for you. 11:47 < fikabot_> 💬 I don't recall 11:48 < fikabot_> 💬 You are on the right path though 13:44 < fikabot_> 💬 Is there a docker image I can use as callback URI and just make a subdomain that points to that? i've spent some time trying to figure out what I am supposed to do with searches and I'm still totally at a loss. This process of getting domain DNS configured, Friendica configured and deployed, getting SMTP set up, and now trying to get the add-ons set up has been so convoluted and 13:44 < fikabot_> 💬 arduous for a novice. 19:25 < fikabot_> 💬 I don't know :( 19:31 < fikabot_> 💬 Yeah the registration process now is a bit different from when I went through it. I didn't have to set the app type etc. 19:35 < fikabot_> 💬 let me try something to provide more complex docs 20:33 < fikabot_> 💬 K when you created the app you got the API level keys and secrets, those are what you enter into the admin panel for the twitter config 20:33 < fikabot_> 💬 I don't see a way to set up the empty redirect 20:34 < fikabot_> 💬 but I don't have time to setup a testing environment to try to follow the rest of the setup to see if it throws a wrench into the user-level credential getting stuff 20:34 < fikabot_> 💬 hoping another dev or someone here can fill in more details. may be good to post to the forums too --- Log closed lun sep 05 00:00:17 2022