WeChatMomentExport-iOS is a friend circle export tool written in C#
Important: The Moments database is only available for iOS and is compatible with iOS WeChat 7.0.12
Important: Since WeChat 6.3.27 has encrypted pictures in other people’s Moments (wxpc format), exporting other people’s Moments is not supported for the time being.
Note: Before use, open WeChat and clear the cache (this step is not necessary, but it can reduce the waiting time required for backup and copy), then directly open your circle of friends, scroll down to the earliest one, and put all your Moments are cached locally. If you are worried, you can disconnect from the Internet after turning the page to confirm whether you can still see it. Being able to see it means that it has been cached successfully.
Since iOS 8.3, Apple has turned off sandbox access, so WeChat’s Document folder cannot be directly accessed. But you can save the country by using iTunes or iMazing (recommended) to back up your mobile phone data, and then extract the WeChat Document content from the backup data.
In the WeChat Document, there is at least one folder named with a Hash string (if you have logged in to multiple WeChat on this phone, there may be more than one). Like this↓
eb8a6093b56e2f1c27fbf471ee97c7f9
Such a folder stores the personal data of WeChat users.
Copy wc005_008.db under the wc folder to the Debug folder of this project (if it cannot be found, generate the project).
Modify the initialization part in the Main function
MomentExporterFacade exporterFacade = new MomentExporterFacade ( "这里改成自己的Hash字符串" , true ) ;
F5 runs.
After running, the following files (folders) will be output:
File(folder) | illustrate |
---|---|
Plist | Store all the Moments you have published (original files exported from wc005_008.db) |
Json | Store all parsed friend circle JSON files |
ViewLocalFile | Store files (pictures, videos, etc.) downloaded to local Moments |
Viewstaticscriptdata.js | Moments data for display |
After the export is completed, open DebugViewIndex.html to see your Moments timeline.
Since my front-end technology is very passable, I did not create a particularly gorgeous display effect. Friends who are interested can pull request.
Some files (folders) with known functions.
File (folder) name | effect |
---|---|
Audio | Caching of voice messages |
DBMM.sqlite | Chat history database |
DBWCDB_Contact.sqlite | Address book database |
Img | Chat picture cache |
Video | Chat video cache |
wcwc005_008.db | Moments cache |