开发者

Epi Twitter - reading oauth token later in ajax call?

开发者 https://www.devze.com 2023-01-16 02:22 出处:网络
I have logged a user into the app on the site and retrieved their details using EpiTwitter/Twtitter-Async. I then want to process these and others through an ajax call and post a new tweet on success.

I have logged a user into the app on the site and retrieved their details using EpiTwitter/Twtitter-Async. I then want to process these and others through an ajax call and post a new tweet on success.

Specificially, my problem lies with reusing the cookie, i see they are gettting set but I cannot see how t开发者_如何学运维o reuse them in later pages. what function do I call?

Thanks


In the php file that catches the ajax request you can access the cookie information in $_COOKIE. It should automatically be sent with the ajax request.

http://php.net/manual/en/features.cookies.php

0

精彩评论

暂无评论...
验证码 换一张
取 消