How can I get only few posts of twitter by publish.twitter.com - embedding

I am getting Twitter posts on my Website using publish.twitter.com but I want to embed only some tweets, I searched everywhere but couldn't find the solution.
Please help me out
Below is the embedding code that I am using:-
<a class="twitter-timeline"
href="https://twitter.com/ESPNcricinfo/timelines/585813293161406464?ref_src=twsrc%5Etfw">Readers
recommend - Curated tweets by ESPNcricinfo</a>
<script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>

Related

YouTube blocked video for display on website

A YouTube video is not being played due to copyright issue and gives a message as follows:
This video contains content from somebody, who has blocked it from display on this website or application.
Watch on YouTube.
Here is the JSfiddle for two videos, where one video is being played but the other is not:
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
</head>
<body>
<iframe allowfullscreen="" allow="autoplay; fullscreen" src="https://www.youtube.com/embed/UPLNXZQdGxo?autoplay=1" frameborder="0"></iframe>
<br />
<iframe allowfullscreen="" allow="autoplay; fullscreen" src="https://www.youtube.com/embed/6jiNS_4CEug?autoplay=1" frameborder="0"></iframe>
</body>
</html>
Is there a way to support playing such videos?
Video isn't available in my country/region
Some YouTube videos may not
be available in your country/region for the following reasons:
Video owners have chosen to make their content available only to
certain countries/regions (usually due to licensing rights) YouTube
may block specific content to comply with local laws
-- Youtube
Basically this means that the video isn't playable in your region. While it may become available in the future, currently you cannot do anything about that.
For future reference, this online tool checks if a video is available in your region.
Hope this answered your question!
the link you provided works for me. (I'm in Germany)
I think it is best to test your solution with different localization since I'm guessing YouTube is blocking it for you specifically for you. There might be plenty of reasons besides localization like age restriction etc.
Uploading Video to a different platform might help

Youtube Comments API

in facebook by adding this tag we can get comments,replies and can reply:
<div class="fb-comments" data-href="{url}" data-version="v2.3"></div>
is there any simple way as facebook comment plugin in YouTube?we can get comments by js but for chatting enviroment we must concentrate every detail:
1.like,dislike answers
2.reply unswers
3.user can edit his/her answer etc etc.

Google Plus Authorship not working

I know there are already 1 topic on this, but mine is a lil different.
I have added all the markup required for Google Plus verification, its been 1months now still it doesn't showup on google search with my picture.
my website: http://www.ajinkyaxjs.com
I have added below in my HTML page:
<link rel="author" href="https://plus.google.com/+AjinkyaBorade?rel=author"/>
<link rel="publisher" href="https://plus.google.com/+AjinkyaBorade?rel=publisher"/>
The two way connection is not validating for Google. Use Google's structured data testing tool to validate the markup and connections are correct.

Twitter API: Search keywords/hastags from users timeline

I want to use one of the twitter REST api feeds to search a keyword or hastag from their timeline.
Currently using
<script type="text/javascript" src="https://api.twitter.com/1/statuses/user_timeline/users_username.json?callback=twitterCallback2&count=4&q=keywordhere"></script>
This gets the 4 recent tweets, I added the q= to try filter keywords but it doesn't look like it supports that parameter.
Anyone know of a api call that can search a timeline AND hashtag?

custom share image for fb, g+ and twitter using open graph

Is it possible to have a custom share image for Facebook, Google+ and Twitter?
I've already set up the open graph tags in the head of the document.
Thanks
UPDATE:
For Facebook:
<a href="http://www.facebook.com/share.php?u=url" target="_blank" ><img src="fb-img"/></a>
For Twitter:
<img src="twitter-img" />
Still looking for google+
By the way, any difference with sharer.php v/s share.php for Facebook?
I found the best solution to implement custom share button with Facebutton:
Go to facebook developers page and there you will have to read the following article which will explain you how to use meta tags (HTML) on the head of your page:
https://developers.facebook.com/docs/sharing/webmasters
Basically you need to add a Share Button on your page, right?. So, what you need to do is first of all, add the meta tags that page ask you for on the head of your page. Then everything is so easy. After facebook provides you with the code for the share button, now when you click on it, it will show you the image you specified on your meta tags. Take a look at that page and you'll see how easy is to implement it.
Twitter still i haven't implement it yet neither for google :(

Resources