Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to upload OPML after changing Twitter handle #40

Closed
vincode-io opened this issue Mar 16, 2019 · 16 comments
Closed

Unable to upload OPML after changing Twitter handle #40

vincode-io opened this issue Mar 16, 2019 · 16 comments

Comments

@vincode-io
Copy link

I uploaded my OPML file under a previous twitter handle (mauricevineyard). I then changed my twitter handle (my old handle didn't age well) and now I'm unable to upload or view OPML files under my current handle (vincode_io).

@scripting
Copy link
Owner

scripting commented Mar 16, 2019 via email

@vincode-io
Copy link
Author

I'm sorry. I don't understand. I read the documents and I don't see any guidance on changing twitter handles. Was the bug report not sufficient to understand or recreate the bug?

@scripting
Copy link
Owner

You're not making it easy for me. I would like to help you. But I need to know what you did, step by step, to upload your OPML and what error messages you received if any. How can you tell that the OPML files were not uploaded? Did you look in the JS console for error messages? You're making me work pretty hard to help you. ;-)

@scripting
Copy link
Owner

scripting commented Mar 16, 2019 via email

@vincode-io
Copy link
Author

Thanks for the quick responses. I was concerned that project might not being maintained anymore.

Step 1: Sign in to feedBase with Twitter handle @mauricevineyard
Step 2: Upload OPML file
Step 3: Successfully verified OPML uploaded on "view my subs" page.
Step 4. Log out of Twitter handle @mauricevineyard
Step 5. Change Twitter handle on Twitter settings to @vincode_io
Step 6. Sign in to feedBase with Twitter handle @vincode_io
Step 7. Navigate to "View my subs" page. No subscriptions displayed.
Step 8. Upload OPML file. No errors received on screen or in javascript console.
Step 9. Navigate to "View my subs" page. No subscriptions displayed.

Screen Recording 2019-03-16 at 10.51.40 AM.mov.zip

@scripting
Copy link
Owner

scripting commented Mar 16, 2019 via email

@vincode-io
Copy link
Author

vincode-io commented Mar 16, 2019

I didn't change accounts. I changed the handle (username) on one twitter account. I then logged out of twitter and then logged back in using vincode_io.

In Twitter's settings, this is how I changed my handle (username) in twitter:
Screen Shot 2019-03-16 at 11 11 02 AM

It is strange that the logs don't show vincode_io signing on. Here's where feedBase is at least displaying the new handle (username):
Screen Shot 2019-03-16 at 11 12 08 AM

@scripting
Copy link
Owner

scripting commented Mar 16, 2019 via email

@vincode-io
Copy link
Author

Sounds great. I'm really happy that this project is under active development. Thanks again.

@vincode-io
Copy link
Author

Are you interested in taking patches for this project? I might be interested in becoming a contributor.

@scripting
Copy link
Owner

scripting commented Mar 16, 2019 via email

@vincode-io
Copy link
Author

I got an instance of feedBase up and running and this is what it looks like happened to me.

  1. I logged in using mauricevineyard
  2. The davetwitter module cached the screenname mauricevineyard in the screenNameCache
  3. I logged off of mauricevineyard
  4. I changed my screenname to vincode_io on twitter.com
  5. I logged in using vincode_io
  6. Twitter supplied the same accessToken and accessTokenSecret for vincode_io as it had for mauricevineyard
  7. The davetwitter module found the previous screenname (mauricevineyard) because it accesses the screenNameCache using the accessToken and accessTokenSecret credentials

Because the getScreenName function was returning the old screenname, my uploads were getting uploaded to the old screenname.

I verified this in testing and was able to clear it up by restarting the server and clearing out the screenNameCache.

I hope this helps.

@scripting
Copy link
Owner

@vincode-io -- Thanks for this excellent report. I now understand what the problem is, and also know how to fix it. I'm back at work, after taking a few days off. Hope to have something to report soon. Thanks again.

@scripting
Copy link
Owner

@vincode-io -- I've made the change to davetwitter, check the readme file for details.

Please report any problems, or success.

Thanks again for the excellent work and report. ;-)

@vincode-io
Copy link
Author

It worked! Many thanks @scripting !

@scripting
Copy link
Owner

I ❤️ fixing bugs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants