solved Twitter - Url Card

serveion
@serveion
6 years ago
223 posts
Hello Jamroom

I have a question i have attach a picture of how spotify share they url on twitter i would like to do the same. i have seen url scan works on facebook. but i haven't seen to work on twitter well no on my page.
Im using Audio Pro Skin can you help me to configure it. or guide me what to do.

Thank you.


updated by @serveion: 05/08/18 07:34:12PM
nate
@nate
6 years ago
917 posts
URLScan scans URLs for YOUR site not Facebook. You want to check out the meta manager. You also wanna Google how twitter creates their cards.
updated by @nate: 02/05/18 07:52:26PM
michael
@michael
6 years ago
7,715 posts
Each module will have an 'item_detail_meta.tpl' file in its /templates directory. you can customize that to get the card setup your looking for.

As nate said though, that will only kick in once you have jrMeta module installed and working.
serveion
@serveion
6 years ago
223 posts
@nate @michael

I will check right now. i will update you see is jrMeta is installed correctly
serveion
@serveion
6 years ago
223 posts
@nate

hello i added meta data twitter card, title image, player into item_details
when i when to check twitter verification tool this show up:

INFO: Page fetched successfully
INFO: 29 metatags were found
INFO: twitter:card = player tag found
WARN: Not whitelisted (i already summited the form to get approved.)
michael
@michael
6 years ago
7,715 posts
just need to wait for them to OK you then.
serveion
@serveion
6 years ago
223 posts
and this is the meta data i haven added into the module
serveion
@serveion
6 years ago
223 posts
But the player wont show. i have to option. one is show the player and play on twitter, or remove the player and show a url so people can go to my website.
serveion
@serveion
6 years ago
223 posts
@michael i have been approved. but the player is not showing

this is how the card looks like
here is what i'm seeing
https://cards-dev.twitter.com/validator
this is the url i'm using
https://wowmusic.fm/jowell/tracks/1328/i-love-you

I open the embed player
https://wowmusic.fm/tracks/embed/1328/i-love-you?autoplay=1&auto_play=true
directly into the web it works. but not inside a frame in twitter.

this is the error i found on twitter code when trying to load the iframe.

 Refused to display 'https://wowmusic.fm/tracks/embed/1328/i-love-you?autoplay=1&auto_play=true' in a frame because it set 'X-Frame-Options' to 'sameorigin'.

updated by @serveion: 02/07/18 10:00:09AM
nate
@nate
6 years ago
917 posts
serveion:
@michael i have been approved. but the player is not showing

this is how the card looks like
here is what i'm seeing
https://cards-dev.twitter.com/validator
this is the url i'm using
https://wowmusic.fm/jowell/tracks/1328/i-love-you

I open the embed player
https://wowmusic.fm/tracks/embed/1328/i-love-you?autoplay=1&auto_play=true
directly into the web it works. but not inside a frame in twitter.

I seriously doubt it will allow a player to be shared that's not from YouTube. Too many bad things can happen. FB has recently stopped that too.
serveion
@serveion
6 years ago
223 posts
nate:
serveion:
@michael i have been approved. but the player is not showing

this is how the card looks like
here is what i'm seeing
https://cards-dev.twitter.com/validator
this is the url i'm using
https://wowmusic.fm/jowell/tracks/1328/i-love-you

I open the embed player
https://wowmusic.fm/tracks/embed/1328/i-love-you?autoplay=1&auto_play=true
directly into the web it works. but not inside a frame in twitter.

I seriously doubt it will allow a player to be shared that's not from YouTube. Too many bad things can happen. FB has recently stopped that too.

i was thinking the same thing too this is the error i got while checking twitter tools code

Refused to display 'https://wowmusic.fm/tracks/embed/1328/i-love-you?autoplay=1&auto_play=true' in a frame because it set 'X-Frame-Options' to 'sameorigin'.
serveion
@serveion
6 years ago
223 posts
how can i eliminate the player for twitter and leave just the url?
michael
@michael
6 years ago
7,715 posts
serveion:
Refused to display 'https://wowmusic.fm/tracks/embed/1328/i-love-you?autoplay=1&auto_play=true' in a frame because it set 'X-Frame-Options' to 'sameorigin'.

Try this:

Forum: "Header X-Frame-Options"
https://www.jamroom.net/the-jamroom-network/forum/new_posts/54031/header-x-frame-options/search_string=sameorigin
serveion
@serveion
6 years ago
223 posts
michael:
serveion:
Refused to display 'https://wowmusic.fm/tracks/embed/1328/i-love-you?autoplay=1&auto_play=true' in a frame because it set 'X-Frame-Options' to 'sameorigin'.

Try this:

Forum: "Header X-Frame-Options"
https://www.jamroom.net/the-jamroom-network/forum/new_posts/54031/header-x-frame-options/search_string=sameorigin
I love you so much right now. :-)

is working perfectly

check attachment
nate
@nate
6 years ago
917 posts
That's something I didn't expect.
serveion
@serveion
6 years ago
223 posts
@nate you have to try brother,
you gave up before we starter lol.
now I'm trying to figure out how to add a big image if is possible

they approved my player. :-)

@michael reply helped a lot.

Try this: 

Forum: "Header X-Frame-Options" 
https://www.jamroom.net/the-jamroom-network/forum/new_posts/54031/header-x-frame-options/search_string=sameorigin 

updated by @serveion: 02/07/18 05:30:14PM
michael
@michael
6 years ago
7,715 posts
:) good stuff. Thanks for providing enough info to understand the problem and not just "it doesn't work".

Tags