Issue: Embedding Tweets not Working [With Solutions]

embedding_tweets_issues_with_solutions

When i was writing post about “embedding twitter tweets inside post or website”, I was facing the same problem. I tried each and every method but i was unable to solve issue. I came across a variety of solutions and at last solved my problem.

So, it would be injustice with my users, that i don’t share the solutions of issues that really occur in the embedding tweets.

Check out this also:
— Embedding tweets in a Post or Website [Simplest How to]

Method 1:

There may be the problem of “https” when inserting the tweet link inside the post, try “http” instead.

Method 2:

If you are using the Prior version of WordPress 3.5, then you have to enable the auto-embed option from the Settings>>Media>>Auto Embeds.

Method 3:

Try to give the twitter tweet link in the [ embed ] link here [ /embed ]. Remove the spaces between the bracket and the embed keywords, as we have given to restrict it from execution.

Method 4:

  1. This method worked for me. Paste the below code in the “function.php” file.
add_filter('oembed_providers','twitter_oembed');
function twitter_oembed($a) {
    $a['#http(s)?://(www\.)?twitter.com/.+?/status(es)?/.*#i'] = array( 'http://api.twitter.com/1/statuses/oembed.{format}', true);
    return $a;
}
  1. Now embed the twitter tweet in between embed as mentioned above.

 

Don’t Forget to share it with your friends. Simply click the below buttons.

Embedding tweets in a Post or Website [Simplest How to]

Embedding Tweets

Embedding specific tweets into a WordPress post made easy by the WordPress developers. It is really necessary and helpful for the bloggers because when writing something about the famous personality, celebrity or the multinational industry, if you embed their related tweets it will help you to authenticate the news.

Embedding tweets inside Post:

Get Started:

Step 1:

Log into your twitter account.

Step 2:

Click on the time-stamp of the specific tweet of your account or the one you want. I used the @BillGates twitter account and embed his tweet. Follow the step as given below:

Embedding tweets in a Post or Website [Simplest How to]

Step 3: Now you will be redirected to the page of specific tweet status. After that copy the URL as below:

Embedding tweets in a Post or Website2

Step 4: Paste into your Post, Content, Article or Website.

RESULT: