Page 3 of 3
Re: mChat add message
Posted: 27 Jan 2015, 10:30
by deejay_xb
do i need to send also some session id?
like mchat.php?sid=dsahfkah114143mhaafa&mode=add&......
Re: mChat add message
Posted: 27 Jan 2015, 15:51
by tumba25
Re: mChat add message
Posted: 27 Jan 2015, 21:55
by deejay_xb
doesnt work..
when posting message it says that i'm not logged in, but i am..
@rich - can you please help?
why mchat says i'm not logged in but i am logged in in phpbb? how to post message without using cookies? with sid (from users_table) it does not work..
Re: mChat add message
Posted: 28 Jan 2015, 00:43
by deejay_xb
nevermid my previous messages i've succeded in postin mchat message from outside
Re: mChat add message
Posted: 28 Jan 2015, 11:14
by tumba25
Great. Want to share the needed info?
Re: mChat add message
Posted: 28 Jan 2015, 11:45
by deejay_xb
the problem was curl related, and mchat post link is like this:
mchat.php?sid=usersessionid&mode=add&the rest of variables autogenerated like time form_token..
so i made a custom login.php that returns in json format all the variables i need when i login, then with that variables i make the post url and send to mchat. that's all and it works.
do you need any more info?
Re: mChat add message
Posted: 28 Jan 2015, 14:35
by tumba25
Re: mChat add message
Posted: 28 Jan 2015, 15:38
by deejay_xb
Re: mChat add message
Posted: 29 Jan 2015, 15:30
by RMcGirr83
Rich will not be making an API for a mod that isn't going to get ported to 3.1.
Re: mChat add message
Posted: 30 Jan 2015, 15:44
by tumba25
Re: mChat add message
Posted: 30 Jan 2015, 17:23
by deejay_xb
the app will be available on google play when it will be ready.