PDA

View Full Version : oEmbed on vBulletin?


bfdzio
02-09-2017, 12:56 PM
Hey guys, I was hoping somebody could help me out on getting oEmbed setup on vBulletin...or any of the other variants like Embed.ly instead. I just am not good with figuring this sort of stuff out apparently and I must be missing something on just how to get it up and going.

cellarius
02-09-2017, 01:31 PM
As a consumer or a provider? You really need to be a bit more forthcoming with details to what exactly you want to achieve (and maybe what you've tried already).

bfdzio
02-09-2017, 02:01 PM
As a consumer or a provider? You really need to be a bit more forthcoming with details to what exactly you want to achieve (and maybe what you've tried already).

I haven't tried much because I literally don't know where to start. Everyone just gives documentation on how it works but not exactly what I need to do. I am not up to date on coding anything these days, especially with this kind of stuff.

I run a subscription based forum and just would like it if people quit needing to post the twitter embed code themselves, among other things.

cellarius
02-09-2017, 05:35 PM
So, you would have them post a URL to that service, then parse the answer accordingly? That's not trivial.

You could perhaps do it using an addon I once did, making bbcode with php callback available. https://vborg.vbsupport.ru/showthread.php?t=264896. Create a twitter bbcode, pass the URL to the PHP script, call oEmbed, parse the answer and create a html output accordingly.

If I understand what you want correctly.

bfdzio
02-10-2017, 12:15 PM
So, you would have them post a URL to that service, then parse the answer accordingly? That's not trivial.

You could perhaps do it using an addon I once did, making bbcode with php callback available. https://vborg.vbsupport.ru/showthread.php?t=264896. Create a twitter bbcode, pass the URL to the PHP script, call oEmbed, parse the answer and create a html output accordingly.

If I understand what you want correctly.

Basically. But I wouldn't even know where to start with that....I am basically looking for something like AME but without needing to add AME. I am starting to think it isn't possible without some plugin like that. Was hoping there was just some code we could slap into the headerinclude.

cellarius
02-10-2017, 02:23 PM
Not likely. You'd have to process the answer you get back from the serving side.