Attachment url from a external php callback?

rivacom

Active member
Is there a easy way to get the attachment url from a external PHP script? I'm already pulling other data from xf_thread and xf_post. I can get the attachment ID. But wasn't sure if there was a easier way to get the attachment url.
 
Top