social icon indicating copy to clipboard operation
social copied to clipboard

Following status of the follow button returns to follow after refresh. following not saved

Open maximelehericy opened this issue 1 year ago • 3 comments

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

  1. https://cloud.example.com/apps/social/@username/
  2. click follow
  3. remove your mouse from the button
  4. button is green, marking following
  5. refresh
  6. button is default color again, followee/follower status unchanged.

Expected behavior button should stay green, and the user added to the list of followers/followees

Screenshots initial state image after click image after refresh image

Client details:

  • OS: [e.g. iOS] windows
  • Browser [e.g. chrome, safari] firefox
  • Version [e.g. 22] 111
  • Device: [e.g. iPhone6, desktop]
Server details **Social app version:** 0.6.1

Operating system: t.nc.c

Web server:

Database:

PHP version:

Nextcloud version: (see Nextcloud admin page)

Logs

Nextcloud log (data/nextcloud.log)

Insert your Nextcloud log here

Browser log

Insert your browser log here, this could for example include:

a) The javascript console log
b) The network log
c) ...

maximelehericy avatar Jul 18 '23 14:07 maximelehericy

I face the same issue. I can't follow external users then. I can follow local users though..

And I can be followed by external users.

Thatoo avatar Dec 17 '23 12:12 Thatoo

Well, I have to moderate my previous message. It seems like there is only one account I can't follow, the only one I was trying because it's mine. Maybe at some point I couldn't follow any account (at the time I could not be followed, check https://github.com/nextcloud/social/issues/1697 to know how I solved it) but I didn't try several account, I just tried mine and now, the problem is solved but because mine was "blocked" or something, I still can't follow mine...

I tried following my externa account from an other local account and I works. So only my local account can't follow my external account 'maybe due to past error)...

So the pbm sounds like solved to me. Maybe it was because of the same reason I could not be followed, that's the only thing I have changed but because I was focusing only on following my remote account from my local account, (which is not working) , i didn't realized I could actually follow all other external account. What I changed was, in nginx : location = /.well-known/webfinger { return 301 /nuage-nextcloud/index.php$uri; } to location = /.well-known/webfinger { return 301 /nuage-nextcloud/index.php$request_uri; }

Thatoo avatar Dec 17 '23 12:12 Thatoo

Well, I even could solve the last issue, I mean follow my remote account with my local account doing first the following occ command

occ social:account:following --unfollow <userIdOfLocalAccound> <RemoteAccount>

Thatoo avatar Dec 17 '23 14:12 Thatoo