Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [twitter]

For questions involving the social networking service Twitter

0
votes
0answers
20 views

Not able to get my callback URL to work with my wordpress plugins

I have installed a Wordpress Plugin (Revive old Post). This plugins on my wordpress website to send old post to my twitter account.. I have setup my developer account with twitter.. for this plugin ...
1
vote
1answer
34 views

Why is my oembed function modifying Twitter embed?

Building a theme with Boostrap 4 and WordPress 5.0.1. Under Bootstrap's documentation for embed video the following format is required for responsive videos: <div class="embed-responsive embed-...
1
vote
2answers
818 views

How can I replace an oEmbed URL in post with actual embed HTML

What I want is to get the output of the Twitter oEmbed system into my actual posts. IMHO the embed output itself is high-quality, semantic HTML and I'd rather have it inside the post than in the embed ...
0
votes
1answer
320 views

Featured image not shown in twitter post

I have a post with a featured image (size 736x212). The post url is this. I shared my post on twitter, but the tweet doesn't show the image (if you want to check click here). What could be the problem?...
0
votes
1answer
65 views

How to replace get_the_excerpt with first N words of post article while stripping html

I'm trying to add Twitter Card functionality to a Wordpress blog so that whenever someone posts a link to an article on Twitter, the card displays. Here is the code I put in functions.php of my theme ...
0
votes
0answers
12 views

Embed a tweet without attached media

I want to embed a tweet but not include the attached media. On the other tweets in my post I do want the attached media. I followed this advice: add a data-cards="hidden" attribute to the resulting ...
0
votes
0answers
52 views

Mix Facebook and Twitter feed into custom posts

I am currently running into a problem where I have to combine my Custom Post Type posts with the feed of a facebook page and a twitter channel. I know that there are a lot of plugins out there that ...
0
votes
0answers
160 views

How to Hide Ancestors/Threads in Embedded Tweets

I'd like my embedded tweets to not show a parent/ancestor, for example this is how Wordpress oEmbed displays a single tweet I'd prefer all to look like: I tried this approach to filter on ...
0
votes
1answer
88 views

Need To Change Wordpress Meta Tags… Includes wordpress shortcodes

Hi Need help to change wordpress meta og urls with wordpress shortcodes... Below is meta I need implemented and I only need to apply to certain post ids... Not the entire website... Note -- All the ...
0
votes
1answer
180 views

How to set parameters for a Twitter post using wp_oembed_get (remove rounded borders)?

I'm very new to WordPress. I have managed to create a custom field for embedded content (using carbon fields) and oEmbed. It works by simply using the code: echo wp_oembed_get($variable); The $...
2
votes
0answers
41 views

Trying to inject twitter metadata into <head> using wp_head action in functions.php - get_the_excerpt() returns null

So I followed the "Add Twitter Cards without plugins" this tutorial for how to add twitter metatags into the header using the wp_head method. I have pretty much taken the code as is, and put it in ...
1
vote
0answers
39 views

Twitter shortlink 404 not found [closed]

When i put a url of my wordpress page on twitter show the following however if i click go to the correct page any idea?
1
vote
3answers
283 views

Is there a Twitter Wordpress plugin that changes https to http?

I log in and do all the administration over https in my wordpress blog (my own installation). When I publish something, I have the problem that the twitter plugins normally pick the current URL, with ...
1
vote
2answers
89 views

Is it possible to use Twitter intents with the post’s image in WordPress?

I am using Twitter Intents as part of my theme and I can successfully share posts’ URLs on Twitter. However, I would like to be able to show the images of the shared posts. Is that even possible? I ...
1
vote
1answer
2k views

Customize Embedded Tweets (or, How To Hide Photos in Embedded Tweets)

I'm relying on the WP functionality to embed a tweet. When I add a tweet URL, like so: https://twitter.com/SamFlowers/status/724417082247528448 to the editor, it expands and shows the following: I ...
0
votes
1answer
169 views

can we add twitter count button on wordpress?

i have seen many post regarding adding twitter's tweet button on wordpress page using different plugins. <script src="http://platform.twitter.com/widgets.js" type="text/javascript"></script&...
0
votes
1answer
43 views

Getting 404 in the Javascript

I have directory called "api" and in that I want to run a php script called "tweet.php". This script file is calling inside a JS file. However I am getting a 404. Need help to solve the issue. Link ...
1
vote
3answers
4k views

publish_post hook isn't working for scheduled posts

I had a bit of an issue with wp-to-twitter publishing a tweet linking to a post that was set as 'pending' that i had emailed to my wordpress.org site. The email included a footer, which included my ...
2
votes
3answers
650 views

How to display custom twitter posts with the twitter plugin?

Using the twitter plugin, so you can have your twitter posts loaded into the sidebar of your wordpress blog, is there any way of filtering the posts? For example, I will post technical stuff I'm ...
0
votes
1answer
59 views

Turn twitter-urls into list timelines?

I know there's the oEmbed ability to embed a specific tweet, as described in their documentation... but is there any way to simply get the latest in a particular twitter feed, without setting up an ...
5
votes
2answers
820 views

A plugin where users can comment with Facebook or Twitter or OpenID [closed]

Is there any plugin where users can comment with Facebook or Twitter or OpenID...
2
votes
2answers
982 views

Top 3 posts in last week ordered by Facebook and Twitter share counts

I am interested in displaying the top 3 stories in the past week based on the total number of shares on Facebook and Twitter. I have found that these share counts are more useful indications of what ...
1
vote
1answer
2k views

Permalink doesn't get displayed in Twitter button (Local WordPress problem?)

I'm trying to add a custom "Tweet this" button to my WordPress posts. I'm sticking to the official Twitter guidelines. Here is what I'm actually trying to pull of; I don't want the button, I want a ...
0
votes
1answer
337 views

Do_Shortcode not working for Embed any tweet

I'm trying to use Custom Field types to embed twetter using the Do_Shortcode() like this : echo do_shortcode('[tweet https://twitter.com/wordpressdotcom/status/204557548249026561 ]'); And its not ...
-1
votes
1answer
177 views

do_shortcode for twitter doesn't work well

I have problem in show tweet in single.php template. So I use this way to echo the tweet like this :- $check_embeds=$GLOBALS['wp_embed']->run_shortcode( '[tweet 567061791826382849]' ); echo $...
0
votes
1answer
29 views

Twitter knocks website out

we have a really strange problem with a WordPress website. Whenever the client tweets a link to their site the whole server falls over. No one clicks on the tweets, and its literally the moment its ...
2
votes
0answers
31 views

Share comment to twitter after publishing [closed]

I need to share the comment from my web site after admin approves it from comment form to twitter account of user who comment for the post in my site. How can I do that?
0
votes
0answers
199 views

Insert post programmatically and decide to tweet or not to tweet

I am inserting a new post using wp_insert_post() and want to be able to decide if this post gets tweeted or not using the WP to Twitter plugin. First, I create the post, like so: $newpost = array( ...
0
votes
1answer
54 views

Detect each active instance of a widget

Is it possible to detect each active instance of a particular widget? As part of a plugin I'm working on, I want to run a for each loop on each widget instance Each widget is a Twitter feed and the ...
0
votes
1answer
128 views

Twitter Product Cards

I am trying to show twitter product cards. I have this function in my functions.php . I validated the twitter card and everything looks good except the product data. I am trying to display it for ...
1
vote
2answers
3k views

Plugin to show a widget hashtag as widget or shortcode? [closed]

Is there a plugin that will show the results of a Twitter hashtag search either as a a widget or in a post/page via a shortcode? The shortcode is preferred. Thanks!
-1
votes
3answers
1k views

Twitter/Facebook login for comments [closed]

What plug-ins there are available to allow people to leave comments using their Facebook and Twitter logins? Any special considerations or recommendations? I am currently allowing comments with the ...
0
votes
3answers
134 views

Getting Twitter Content on My Blog

I'm the editor of a niche blog that posts lots of great content. We also post links to other sites/resources in our Twitter feed. What's frustrating to me is that outside content on our Twitter feed ...
0
votes
1answer
122 views

Adding custom avatar field to comments

I want to store a users Twitter Profile Image when I found out that they've tweeted the link of a post (by using the Twitter API), but I'm stuck with the following issue: How do I store the Profile ...
1
vote
1answer
456 views

Automatically add simple custom buttons for print, Facebook share, & Tweet in Posts [closed]

I want an easy way to automatically implement printing, Facebook sharing, and Tweeting for posts. No plugins, complicated javascript, nor functions.
0
votes
1answer
190 views

rewrite rules social share links

Within the Ultimatum's theme childtheme.php I've added rewrite rules to the rewrite rules and it works perfectly fine. However, it does not work if the URL is shared in Facebook or Twitter. The ...
0
votes
1answer
62 views

How to acces the twitter user profile link?

I need to access the twitter user profile url, after authentication of each users i wants to take their profile urls. i wants to know that how to do this in wordpress. Is there any plugins available ...
0
votes
1answer
64 views

Wordpress tags as twitter sharer URL hastags

I want to share a wordpress post on twitter. I'm using this : <a href="https://twitter.com/share?url=<?php the_permalink() ?>&text=<?php the_title() ?>&via=<?php the_author()...
0
votes
1answer
782 views

How would I use this filter to change the output of the date format to “Twitter time”?

I'm using a plugin called Latest Tweet Widget to display the latest tweet. The tweet date gets displayed by the month and day (Mar 22). However, I want it to be in "Twitter time" meaning words like "3 ...
1
vote
1answer
104 views

Pulling Twitter RSS feed not working as expected (fatal error)

I'm trying to get some of the latest posts from a Twitter account, without a plugin. According to Botcrawl.com's tutorial, this should be enough: <ul> <?php include_once(ABSPATH . WPINC . '/...
8
votes
2answers
439 views

WordPress Internal @ Mentions

I'm looking for a way to link to author pages within one WordPress install simply by putting the @ symbol in front of a person's username in a post.... just like on twitter. Example: If the username ...
0
votes
0answers
19 views

How to retrieve hashtaged tweets from a list of users and post to Wordpress

Is there any way retrieving all the tweets from a list of profiles which are tagged with certain #hashtag using Twitter API 1.1 and applying it as a feed to Wordpress? I have found this but I'm not ...
0
votes
0answers
32 views

How to Pull Out Twitter Summary Data in other areas of my template?

I am curious on how www.gigaom.com is able to callout the summary data of their articles. In addition I am trying to figure out how the summary autoposts when you select the tweet this button and the ...
0
votes
1answer
373 views

How to keep sharing stats after creating 301 redirects?

I recently changed a lot of URLs for SEO purposes and realized that all of my Facebook likes and Twitter tweet counts were lost on posts created prior to yesterday. Posts created since yesterday ...
0
votes
1answer
64 views

How can I make the Twitter Tools plugin hyperlink every link?

It appears that (Twitter) shortened links are not auto-hyperlinked whilst non-shortened links are. Is there a patch to make all links hyperlinked - therefore clickable? E.g. http://cl.ly/image/...
-1
votes
1answer
173 views

Add a twitter feed to my Wordpress website

My website is WilsonsTransportation. On the left hand side of my site we have "testimonials" scrolling down. I've located the coding for that in my custom theme under page-home.php. I was hoping to ...
0
votes
1answer
174 views

How to correct Error: message on website Twitter Feed

I'm receiving a Error: Twitter did not respond. Please wait a few minutes and refresh this page message on my website at www.toan.ca. This has been going on for a few days and i would like to know ...
0
votes
1answer
961 views

New Twitter API and Twitter count + timeline doesn't work anymore [closed]

As some of you might know, Twitter has changed their API. With that some of my plugins / codes stopped working. I tried to fix them on my own, but failed. I tried googling for the new API URL and I ...
1
vote
1answer
959 views

Is there a plugin that creates a WP post based on a Twitter account's hashtag?

I've found a myriad of plugins that tweets my posts or grabs tweets into a widget, or posts all tweets, but none that: looks for a specific twitter @account's #hashtags and creates a WP post in a ...
0
votes
1answer
269 views

Twitter feed is showing blank in WP site [closed]

I am using themefuse WP theme and facing this problem. http://themefuse.com/forum/thepractice-wp/twiiter-newsline-is-blank Can someone please suggest if I need to use some other attribute. I am not ...