Skip to content
This repository has been archived by the owner on Jan 13, 2022. It is now read-only.

Stuck on post where neither "deleting" nor "hiding" was an option #22

Closed
Neugierdsnase opened this issue May 22, 2019 · 9 comments
Closed
Labels
bug Something isn't working

Comments

@Neugierdsnase
Copy link

Maybe related to #17. The program seems to have been stuck on a post from 2013 where neither "deleting" nor "hiding" was an option. I manually "untagged" me from the post/photo and restarted the program, which worked fine, but this might want to be considered fixing as a future enhancement.

@Neugierdsnase
Copy link
Author

I'm going to close this again, since I am not sure anymore this is what actually happened and I might have jumped the gun here.

@weskerfoot
Copy link
Owner

I think this is a real thing, but it's hard to reproduce. I think Facebook has removed certain features over the years so things are a bit inconsistent.

@weskerfoot weskerfoot added the bug Something isn't working label May 26, 2019
@weskerfoot
Copy link
Owner

Reopening since I think it might be a real issue but it's hard to reproduce.

@weskerfoot weskerfoot reopened this May 26, 2019
@weskerfoot weskerfoot added the help wanted Extra attention is needed label May 26, 2019
@jsmbennett
Copy link

jsmbennett commented May 27, 2019

I'm consistently stuck on this step, and the situation is this:

A friend posted a picture on another friends' wall in which I was tagged. The option presented in the context menu is to "Remove Tag".

Screenshot from 2019-05-27 11-01-48

Edit: it's unclear whether or not this is the only case, but I untagged myself and ran the script again to continue on as normal.

@jsmbennett
Copy link

jsmbennett commented May 27, 2019

Found another post with it, the parameter for selenium is:

data-feed-option-name="UNTAG"

@weskerfoot
Copy link
Owner

weskerfoot commented May 27, 2019 via email

@weskerfoot
Copy link
Owner

weskerfoot commented May 27, 2019

It should just need an additional case here to handle it

try:
delete_button = menu.find_element_by_xpath("//a[@data-feed-option-name=\"FeedDeleteOption\"]")
except SELENIUM_EXCEPTIONS:
delete_button = menu.find_element_by_xpath("//a[@data-feed-option-name=\"HIDE_FROM_TIMELINE\"]")

@weskerfoot
Copy link
Owner

#44 may solve this

Could someone test? @jsmbennett @Neugierdsnase

@weskerfoot weskerfoot removed the help wanted Extra attention is needed label Jun 1, 2019
@weskerfoot
Copy link
Owner

Should be fixed now

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants