Skip to content
This repository has been archived by the owner on Feb 5, 2023. It is now read-only.

Wrong Link for Jike repost #292

Open
sxzz opened this issue Apr 1, 2022 · 2 comments
Open

Wrong Link for Jike repost #292

sxzz opened this issue Apr 1, 2022 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@sxzz
Copy link

sxzz commented Apr 1, 2022

Describe the bug
Jike repost link is https://web.okjike.com/repost/id, not https://web.okjike.com/originalPost/id

Cheers/src/views/Home.vue

Lines 818 to 820 in bafeca2

link = `https://${this.isPCLayout ? 'web' : 'm'}.okjike.com/${
this.isPCLayout ? 'originalPost' : 'originalPosts'
}/${content.target.action.payload}`;

To Reproduce

My Cheers Page: https://cheers.bio/sanxiaozhizi.bit

I have a Jike repost:

Coding is legislating.
RT 方的胖虎: Coder is lawyer."

It linked to https://web.okjike.com/originalPost/62434430e8de690010dd9123, and the correct link is https://web.okjike.com/repost/62434430e8de690010dd9123

Expected behavior

Link is correct for reposts.

Screenshots

image

Desktop (please complete the following information):

  • OS: macOS
  • Browser N/A
  • Version N/A

Smartphone (please complete the following information):

  • Device: N/A
  • OS: N/A
  • Browser N/A
  • Version N/A

Additional context

I think maybe RSS3 should add post type (originalPost / repost) to payload.

BTW, there's the same problem in Revery.

@yzhe819 yzhe819 added the bug Something isn't working label Apr 18, 2022
@yzhe819 yzhe819 self-assigned this Apr 18, 2022
@yzhe819
Copy link
Contributor

yzhe819 commented Apr 18, 2022

Thanks for your help 💖. Fixed in #296

@sxzz
Copy link
Author

sxzz commented Apr 18, 2022

You can try my Cheers profile. The issue still exists.

IMHO, Jike has two post type originalPost and repost. Changing the originalPost to repost directly will make the forwarded post work , but normal post can't work.

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

2 participants