[00:07:50] [telegram] Hi! [00:07:50] [telegram] Maybe what you need is to store the token in some variable and store it in localstorage. Then using something like "axios" you can pass that token by default along with the session time parameter.(?) (re @manimaran_k: Hi all,  [00:07:52] [telegram] I am Manimaran(https://manimaran96.WordPress.com), Free Software Activist and Android Developer. I developing the app called Spell4Wiki. [00:07:53] [telegram] Spell4Wiki - Spell For Wiki [00:07:54] [telegram] Spell4Wiki is an mobile application to record and upload audio to wiki commons for Wiktionary words.Spell4Wiki also act as dictionary. Words meanings are come from Wiktionary. [00:07:55] [telegram] Useful Links [00:07:57] [telegram] Source code : https://github.com/manimaran96/Spell4Wiki [00:08:00] [telegram] APK : https://github.com/manimaran96/Spell4Wiki/releases/download/devapp_v5/spell4wiki_v5.apk [00:08:03] [telegram] Workflow : https://manimaran96.files.wordpress.com/2020/02/spell4wiki_workflow-1.png [00:08:04] [telegram] Blog : [00:08:06] [telegram] https://manimaran96.wordpress.com/2019/01/06/spell4wiki-mobile-app-to-record-upload-audio-for-wiktionary/ [00:08:09] [telegram] https://manimaran96.wordpress.com/2020/02/21/spell4wiki-mobile-app-to-record-upload-audio-to-wiki-commons-for-wiktionary-words-part-2/ [00:08:12] [telegram] While developing I struggled in some places(listed below). If anyone have idea about this please help me... [00:08:13] [telegram] Problems [00:08:15] [telegram] 1. While uploading audio some times I got a message “Invalid CSRF”. [00:08:18] [telegram] 2. Once successfully uploaded audio not reflected to UN-Audio words API and Word’s Wiktionary page. [00:08:19] [telegram] Problem : 1 [00:08:21] [telegram] Reason I found  [00:08:23] [telegram] I think this comes may be session time out or expire or wrong CSRF token. [00:08:24] [telegram] Once app close session expired [00:08:26] [telegram] What I tried [00:08:28] [telegram] I am saving first CSRF token after login. Then after every edit request use same CSRF token -> Not worked. [00:08:30] [telegram] Every time getting new CSRF token for every edit request -> Not worked. [00:08:32] [telegram] I managed the cookies using android-lib -> Not worked. [00:08:34] [telegram] Questions [00:08:35] [telegram] How to solve this? [00:08:37] [telegram] Possible to extend login expire time? [00:08:39] [telegram] Which header/cookie is important for every edit request? [00:08:40] [telegram] Problem : 2 [00:08:42] [telegram] Reason I found [00:08:44] [telegram] I think Wikipedia refresh the UN-Audio word list and Wiktionary word page after specific period of time. [04:10:40] [telegram] >1. Invalid CSRF [04:10:41] [telegram] May be due to you invalid consumer_token or consumer_secret or you forgot to update them ? (re @manimaran_k: Hi all,  [04:10:42] [telegram] I am Manimaran(https://manimaran96.WordPress.com), Free Software Activist and Android Developer. I developing the app called Spell4Wiki. [04:10:43] [telegram] Spell4Wiki - Spell For Wiki [04:10:45] [telegram] Spell4Wiki is an mobile application to record and upload audio to wiki commons for Wiktionary words.Spell4Wiki also act as dictionary. Words meanings are come from Wiktionary. [04:10:46] [telegram] Useful Links [04:10:47] [telegram] Source code : https://github.com/manimaran96/Spell4Wiki [04:10:48] [telegram] APK : https://github.com/manimaran96/Spell4Wiki/releases/download/devapp_v5/spell4wiki_v5.apk [04:10:52] [telegram] Workflow : https://manimaran96.files.wordpress.com/2020/02/spell4wiki_workflow-1.png [04:10:53] [telegram] Blog : [04:10:56] [telegram] https://manimaran96.wordpress.com/2019/01/06/spell4wiki-mobile-app-to-record-upload-audio-for-wiktionary/ [04:10:59] [telegram] https://manimaran96.wordpress.com/2020/02/21/spell4wiki-mobile-app-to-record-upload-audio-to-wiki-commons-for-wiktionary-words-part-2/ [04:11:01] [telegram] While developing I struggled in some places(listed below). If anyone have idea about this please help me... [04:11:03] [telegram] Problems [04:11:05] [telegram] 1. While uploading audio some times I got a message “Invalid CSRF”. [04:11:07] [telegram] 2. Once successfully uploaded audio not reflected to UN-Audio words API and Word’s Wiktionary page. [04:11:09] [telegram] Problem : 1 [04:11:10] [telegram] Reason I found  [04:11:13] [telegram] I think this comes may be session time out or expire or wrong CSRF token. [04:11:14] [telegram] Once app close session expired [04:11:16] [telegram] What I tried [04:11:18] [telegram] I am saving first CSRF token after login. Then after every edit request use same CSRF token -> Not worked. [04:11:21] [telegram] Every time getting new CSRF token for every edit request -> Not worked. [04:11:23] [telegram] I managed the cookies using android-lib -> Not worked. [04:11:24] [telegram] Questions [04:11:26] [telegram] How to solve this? [04:11:28] [telegram] Possible to extend login expire time? [04:11:30] [telegram] Which header/cookie is important for every edit request? [04:11:31] [telegram] Problem : 2 [04:11:33] [telegram] Reason I found [04:11:35] [telegram] I think Wikipedia refresh the UN-Audio word list and Wiktionary word page after specific period of time. [13:36:19] [telegram] To Problem 1: Have you checked for encoding issues? (re @manimaran_k: Hi all,  [13:36:20] [telegram] I am Manimaran(https://manimaran96.WordPress.com), Free Software Activist and Android Developer. I developing the app called Spell4Wiki. [13:36:21] [telegram] Spell4Wiki - Spell For Wiki [13:36:22] [telegram] Spell4Wiki is an mobile application to record and upload audio to wiki commons for Wiktionary words.Spell4Wiki also act as dictionary. Words meanings are come from Wiktionary. [13:36:24] [telegram] Useful Links [13:36:25] [telegram] Source code : https://github.com/manimaran96/Spell4Wiki [13:36:26] [telegram] APK : https://github.com/manimaran96/Spell4Wiki/releases/download/devapp_v5/spell4wiki_v5.apk [13:36:28] [telegram] Workflow : https://manimaran96.files.wordpress.com/2020/02/spell4wiki_workflow-1.png [13:36:29] [telegram] Blog : [13:36:33] [telegram] https://manimaran96.wordpress.com/2019/01/06/spell4wiki-mobile-app-to-record-upload-audio-for-wiktionary/ [13:36:35] [telegram] https://manimaran96.wordpress.com/2020/02/21/spell4wiki-mobile-app-to-record-upload-audio-to-wiki-commons-for-wiktionary-words-part-2/ [13:36:38] [telegram] While developing I struggled in some places(listed below). If anyone have idea about this please help me... [13:36:39] [telegram] Problems [13:36:41] [telegram] 1. While uploading audio some times I got a message “Invalid CSRF”. [13:36:44] [telegram] 2. Once successfully uploaded audio not reflected to UN-Audio words API and Word’s Wiktionary page. [13:36:45] [telegram] Problem : 1 [13:36:47] [telegram] Reason I found  [13:36:49] [telegram] I think this comes may be session time out or expire or wrong CSRF token. [13:36:51] [telegram] Once app close session expired [13:36:52] [telegram] What I tried [13:36:54] [telegram] I am saving first CSRF token after login. Then after every edit request use same CSRF token -> Not worked. [13:36:57] [telegram] Every time getting new CSRF token for every edit request -> Not worked. [13:36:58] [telegram] I managed the cookies using android-lib -> Not worked. [13:37:00] [telegram] Questions [13:37:02] [telegram] How to solve this? [13:37:03] [telegram] Possible to extend login expire time? [13:37:05] [telegram] Which header/cookie is important for every edit request? [13:37:07] [telegram] Problem : 2 [13:37:08] [telegram] Reason I found [13:37:11] [telegram] I think Wikipedia refresh the UN-Audio word list and Wiktionary word page after specific period of time. [13:37:12] [telegram] What I tried