[SOLVED] [REQ] Tweets Embedding in Posts

Status
Not open for further replies.

StrikerX

Moderator
Moderator
Apr 6, 2009
6,636
52
54
Islamabad
Hey... So I've a request that if possible, can embedding tweets feature be added on the forums? E.g code taken from twitter embed tweet option
Code:
<blockquote class="twitter-tweet" lang="en"><p>ISPR Release:<a href="https://twitter.com/hashtag/COAS?src=hash">#COAS</a> was asked by the Govt to play facilitative role for resolution of current impasse, in yesterday's meeting, at <a href="https://twitter.com/hashtag/PM?src=hash">#PM</a> House</p>— AsimBajwaISPR (@AsimBajwaISPR) <a href="https://twitter.com/AsimBajwaISPR/statuses/505341452616884224">August 29, 2014</a></blockquote>
<script async src="//platform.twitter.com/widgets.js" charset="utf-8"></script>

[MENTION=6068]Ottoman[/MENTION] [MENTION=4999]Pleasant[/MENTION] [MENTION=4177]NaNoW[/MENTION] [MENTION=8060]abobobilly[/MENTION]
 

StrikerX

Moderator
Moderator
Apr 6, 2009
6,636
52
54
Islamabad
Thank you very much, its working :) :) (y) (y)

Last edited:

iNF3RN0

PG Founder
ADMIN
Jan 17, 2007
5,857
22
44
Karachi
www.pakgamers.com
[MENTION=11094]StrikerX[/MENTION] : just get the ID from the embed code which tweeter provides within each tweet, for reference check the video posted by [MENTION=4999]Pleasant[/MENTION]
 

abobobilly

$heeda Pastol ™
Dec 3, 2008
14,732
3
44
Lahore
[MENTION=1]iNF3RN0[/MENTION]!

- Is it possible to enable "Center, Left, Right" on Embedded tweets?
- Is it possible to disable "images" on embedded tweets? (Copying the "ID" From address bar enables images automatically)
- Facebook videos also not working. How come?
 
Last edited:

iNF3RN0

PG Founder
ADMIN
Jan 17, 2007
5,857
22
44
Karachi
www.pakgamers.com
@iNF3RN0!

- Is it possible to enable "Center, Left, Right" on Embedded tweets?
- Facebook videos also not working. How come?
I don't think so, because that alignment feature was available previously but now tweeter has removed it. regarding facebook videos, well it's a issue with the facebook! I tried on few other sites as well and they all are throwing some weird privacy content shitty errors.
 

abobobilly

$heeda Pastol ™
Dec 3, 2008
14,732
3
44
Lahore
I don't think so, because that alignment feature was available previously but now tweeter has removed it. regarding facebook videos, well it's a issue with the facebook! I tried on few other sites as well and they all are throwing some weird privacy content shitty errors.
Okay.

What about "removing images from embedded tweets"?
 

abobobilly

$heeda Pastol ™
Dec 3, 2008
14,732
3
44
Lahore
Don't think its possible because those are part of tweets itself
If you check the "Embed Tweet" option at twitter, you'll notice a button which says "Include Media" ... something like that.

If Checking/Unchecking that can add/remove the images then i am sure there is a way.

Plus, the way PG has implemented this feature with BBCodes, may not make use of that "Include Media" feature, but technical staff may know better.
 

StrikerX

Moderator
Moderator
Apr 6, 2009
6,636
52
54
Islamabad
If you check the "Embed Tweet" option at twitter, you'll notice a button which says "Include Media" ... something like that.

If Checking/Unchecking that can add/remove the images then i am sure there is a way.

Plus, the way PG has implemented this feature with BBCodes, may not make use of that "Include Media" feature, but technical staff may know better.
Those include media pictures are tweets themselves with option to include text like in a normal tweet. That's why I said I don't think it will be possible.

PG twitter plugin is grabbing the HTML embed code itself from the twitter api, we're giving it the tweet id no which it is resolving.

Anyways, why you wanna remove them attachments?

Sent from my Nexus 5 using Tapatalk
 

Pleasant

Expert
Jul 19, 2008
15,304
13
44
Dubai, UAE
I don't think so, because that alignment feature was available previously but now tweeter has removed it. regarding facebook videos, well it's a issue with the facebook! I tried on few other sites as well and they all are throwing some weird privacy content shitty errors.
fb working fine on other Forums have a look at this thread
Code:
http://www.siasat.pk/forum/showthread.php?284388-ARY-News-Special-Message-to-the-PM-Nawaz-Sharif
- - - Updated - - -

BTW i see some time tweet loads some time it doesnt what's the issue ?
 
Status
Not open for further replies.
General chit-chat
Help Users
We have disabled traderscore and are working on a fix. There was a bug with the plugin | Click for Discord
  • No one is chatting at the moment.
    Chandoo Chandoo: I have heard that it is now unplayable in countries which do not support handful of third world...