Conversation
1 task
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add Baijiahao (百家号) platform support, allowing users to sync articles to Baijiahao with one click.
Related Issue
Closes #
Type of Change
Changes Made
src/platforms/baijiahao.js- Baijiahao platform configuration filesrc/platforms/index.jssrc/inject.jssrc/background.jsmanifest.jsonImplementation Details
Key Changes:
BDUSScookie to determine login status, callshttps://baijiahao.baidu.com/builder/app/appinfoAPI to fetch username and avatarTechnical Notes:
/builder/app/appinfoendpoint returns user info directlyhttps://pic.rmb.bdstatic.com/10e1e2b43c35577e1315f0f6aad6ba24.vnd.microsoft.iconTesting
Testing Checklist
Manual Testing Steps
Screenshots/Videos
Reviewer Checklist
Additional Notes
Baijiahao publish page URL:
https://baijiahao.baidu.com/builder/rc/edit?type=news