Thread: Bluesky Embeds
View Single Post
Old 03-02-2025, 11:38 PM   #33
psyang
Powerplay Quarterback
 
Join Date: Jan 2010
Exp:
Default

Quote:
Originally Posted by photon View Post
Ah yes CORS...

Cool thanks I'll take a look. I don't think vBulletin has a a simple proxy script, but that's a smart solution creating a separate php script to do that proxying.
The proxy script may need to be modified. The line

PHP Code:
curl_setopt($curlSessionCURLOPT_SSL_VERIFYHOST0); 
might need to be set to 2 instead of 0. I set it to 0 (and also added the previous line for VERIFYPEER) because I wasn't using https on my local environment, and adding these allowed the proxy to work properly - otherwise it was looking for a cert which I didn't have set up.

Wish I could be more specific, but I'm not a php guy, so was trying to cobble together what I could.

Good luck - I hope you get it working!
psyang is offline   Reply With Quote