Hi,
I have a question about PHP API changes during last 5 year.
I'm still running forum using vBulletin 4.2.5 (latest 4.x version).
I'm using Tapatalk v5.7.7 (latest version supporting vBulletin 4.x, released on 26 Aug 2021, tapatalk_vb-4.0_v5.7.7).
I see a number of errors in my PHP error logs:
The file is trying to parse incoming POST body in XML format.
But it seems currently Tapatalk server sends request (`method_name=set_forum_info`) using Content-Type "application/x-www-form-urlencoded".
It would to be an easy for me to add local support for "application/x-www-form-urlencoded" to my old Tapatalk plugin.
Tapatalk, I wonder if it is a good idea or not to support urlencoded format manually?
Is it enough to support parsing new data encoding format?
Or API was significantly changed besides this encoding change?
From logs I see always the same request going from Amazon server (most likely from Tapatalk):
(I have removed security data and formatted data in human readable format):
I have a question about PHP API changes during last 5 year.
I'm still running forum using vBulletin 4.2.5 (latest 4.x version).
I'm using Tapatalk v5.7.7 (latest version supporting vBulletin 4.x, released on 26 Aug 2021, tapatalk_vb-4.0_v5.7.7).
I see a number of errors in my PHP error logs:
Investigation showed me errors are generated in file mobiquo/include/xmlrpc.incXML error: Not well-formed (invalid token) at line 1, column 1
The file is trying to parse incoming POST body in XML format.
But it seems currently Tapatalk server sends request (`method_name=set_forum_info`) using Content-Type "application/x-www-form-urlencoded".
It would to be an easy for me to add local support for "application/x-www-form-urlencoded" to my old Tapatalk plugin.
Tapatalk, I wonder if it is a good idea or not to support urlencoded format manually?
Is it enough to support parsing new data encoding format?
Or API was significantly changed besides this encoding change?
From logs I see always the same request going from Amazon server (most likely from Tapatalk):
(I have removed security data and formatted data in human readable format):
method_name=set_forum_info
&format=json
&code=************************
&api_key=************************
&banner_info=
{
"forum_id":12345,
"forum_logo":"https:\/\/tapatalk-logos.tapatalk-cdn.com\/12345-HD.jpg?v=172345235",
"banner_enable":1,
"banner_version":10,
"facebook_enable":0,
"twitter_enable":0,
"google_enable":1,
"twitter_account":false,
"file_redirect":0,
"image_redirect":0,
"track_tag":0,
"tag_id":"547657",
"piwik_id":0,
"byo_info":{
"app_ios_aid":"",
"app_android_id":"com.quoord.tapatalkpro.activity",
"app_android_aid":"",
"app_alert_message":"Read+forum+faster+on+mobile.+Get+the+Free+Tapatalk+app?",
"app_banner_message_ios":"Read+forum+faster+on+mobile.+Get+the+Free+Tapatalk+app?",
"app_android_description":"Tapatalk+connects+to+over+100,000+online+forums+worldwide.+Post+easily+with+unlimited+Photo+and+Video+sharing+and+instant+push+notifications.+Tapatalk+forever+change+the+way+you+interact+with+online+forums+on+mobile.",
"forum_id":"12345",
"app_banner_message_android":"Read+forum+faster+on+mobile.+Get+the+Free+Tapatalk+app?",
"app_alert_status":"0",
"app_name":"Tapatalk",
"app_url_scheme":"tapatalk",
"app_icon_url":"",
"app_ios_description":"Tapatalk+connects+to+over+100,000+online+forums+worldwide.+Post+easily+with+unlimited+Photo+and+Video+sharing+and+instant+push+notifications.+Tapatalk+forever+change+the+way+you+interact+with+online+forums+on+mobile.",
"app_ios_id":"30495985",
"app_rebranding_id":"90"
}
}
statistics: Posted by vezha — 3:33 AM - 1 day ago — Replies 0 — Views 32