• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Get Latest Posts via Json to other domain?

#1
Hi There,

Is this possible? I have read about the json requests requiring a XenForo._csrfToken - so I assume syndicating the latest posts via json is not allowable?

If it is possible - are there any pointers?

If not, I'll have to do it with RSS.

Thank you!
 

Aayush

Well-known member
#2
You can create an API endpoint which will boot XF classes and then fetch the recent posts and return via JSON. I've done it before, but I am not sure if any pointers are available on the forum.