wrav / oembed

A simple plugin to extract media information from websites, like youtube videos, twitter statuses or blog articles.
MIT License
37 stars 37 forks source link

Does this plugin still work? #103

Closed jacobgraf closed 11 months ago

jacobgraf commented 2 years ago

I just installed this plugin. The only thing I am trying to accomplish is to be able to add an Instagram URL and access all the oEmbed stuff via GraphQL. I created the field to test it out but when the preview tries to load, it says "check url". I think that's because I don't have an Instagram/FB token set up.

I tried to go to the FB dev console and create an app/token, but it's still not working. I noticed FB updated their oEmbed stuff, so I first just want to make sure that this plugin is still able to work with their updates?

Secondly, where can I find step-by-step instructions for creating the FB app and getting a token generated? I've fumbled around in there for a while, but nothing seems to work.

Thanks!

reganlawton commented 2 years ago

You might be able to try the dev-embed4 upgrade that's been being reviewed. It uses the new embed/embed package which might resolve your issue. I'm also abit confused with what whats going on your end I'm afraid

iparr commented 2 years ago

I've had this problem and I consider (the first part at least) a dupe of this: #89

I don't believe you need a FB token or anything else like that. Just a URL. - edit, this is wrong I think.

wmdhosting commented 2 years ago

have same issue . did you test dev-embed4 will try tomorow..

iparr commented 2 years ago

I did and as you can see through #89 I did not have a good time.

Please disregard the above comment. I'm now aware that Instagram does require a token and I have absolutely no idea how to get that working. I don't know if the issue is with this plugin or with the Instagram service itself: now you have to use the Facebook developer interface it has become very convoluted.

I miss the good old days of 'you give it a valid URL'!

wmdhosting commented 2 years ago

OK. i tryed to. do ..but same.. for instagram and Facebook. I think works with valid url.. still

All that works same in embeded assets... juts different UI.. Instagram works just with url..

reganlawton commented 2 years ago

@wmdhosting What CraftCMS version, EOMBED branch/version and PHP version

wmdhosting commented 2 years ago

PHP version | 7.4.29 oEmbed 1.3.15 Craft Pro 3.7.42

First i installed and tryed default version. Twiter worked ok. but FB and Instagram not.

Then i installed dev-embed4

Created ombed app

But stil did get Invalid url. or somethign like that.. when pasted in field..

Twiter worked ok. both times..

reganlawton commented 2 years ago

Can I request the URL used?

wmdhosting commented 2 years ago

i tryed quite many.
but this page where app ombed is created..
https://www.facebook.com/WMDhr/

reganlawton commented 11 months ago

I dont know why this wasn't updated but the issue here is FB has a CSP in place as I get X-Frame-Options. FB doesn't allow click-jacking on the page only the posts / videos / etc