![]() |
Anyone can help to embed new divshare design?
|
Can't seem to get links to Google Maps to work:
Link to actual map here: https://maps.google.com/maps?saddr=S...=1,2,3&t=m&z=6 |
Would be great to have a code for this one:
http://www.zdf.de/ZDFmediathek/beitr...g---Die-Stolze Thanks. |
Quote:
|
I've been poking around today trying to figure out if I can use AME to embed tweets using Twitter's oEmbed.
I've got this in Regular expression: Code:
http[s]*://[www\.]*twitter\.com/[\w]+/status[es]*/([\d]+) Code:
<script type="text/javascript" src="https://api.twitter.com/1/statuses/oembed.json?id=$p1"></script> Is the problem somehow trying to render by way of javascript in a post through AME? I concede I may well be barking up the wrong tree trying to do it this way. Wide open to any and all suggestions. https://dev.twitter.com/docs/embedded-tweets https://dev.twitter.com/docs/api/1/get/statuses/oembed |
If you reload the page does the tweet show?
|
Quote:
https://api.twitter.com/1/statuses/o...40144317198338 So it's like it's not functioning as a GET, or not writing/parsing/embedding the response. I'm just not sure. Then again, it probably wouldn't show the response in the View Source even if it was working -- nevermind, just sorted that out. Obviously I'm at a bit of a loss. Also, I'm wondering about how safe/secure this is even if I did make it work. I suppose I'm only letting people pass a numeric string through to the script itself, so it can't get loaded up with anything malicious. See any issues on that front (as a secondary question)? Probably a non-issue, but I thought I'd ask someone who actually has a clue (unlike myself). |
This is the required replacement code:
Code:
<blockquote class="twitter-tweet"><p> </p> <a href="https://twitter.com/twitterapi/status/$p1"> </a></blockquote> No security risk as long as you trust Twitter. |
Quote:
Here's what's showing up in View Source: Code:
<!-- message --> Should the twitter.com/twitterapi GET be a script itself instead of an 'a href' call? Nevermind, that didn't work either. Just found this, it's how someone got it to work with PHPbb (which is probably completely irrelevant, but maybe there's something there: http://punyweakling.com/add-a-tweet-...a-phpbb-forum/ I do appreciate the info and assistance. |
It seems the AME mod is ignoring the uRL completely... at least om my forum. Weird. No idea why...
|
All times are GMT. The time now is 07:16 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|