Hi I want to know if Twitter Share Button returns response or something - twitter

Hi I'm planning to using twitter share button to share a specific tweet with hashtags and tags. Twitter Share Button Doc here details how to use the button using anchor tag, but how do I know if the user really post it or just clicked it ?

Related

Twitter direct follow link (not button)

I'd like to allow people visiting my blog to follow me on Twitter. The actual problem is the Twitter officiel follow button does not really fit on my website (http://thomaskowalski.net, at the bottom of the page), I'd like it to be in the same style as the other links. I saw in the code that the button is actually a link (starting with the link tag a). So I tried to remove the class attribute, but now it's just a link to my twitter profile, which is the same at the right (Twitter link). So have you an idea of how to do to create a automatic follow button, with no user confirmation but without the ugly Twitter style.
Thank you :)

Twitter: How to get "View photo" on tweet

We just included a pure HTML link for the tweet functionality instead of the twitter button. Now we want to enable the user to tweet an image together with his tweet.
When you manually tweet an url from instagram or flickrm, twitter automatically adds the "View photo" function below the tweet? How did I get that on my page?
I already found out, that both instagram and flickr use og properties. My guess was, that I have to add those properties to my page. But even adding those properties does not trigger the "View photo" link on twitter.
Is there some documentation about how to get it working? I didn't found anything in the API docs.
The View Photo link on Twitter is not related to OpenGraph. The photo provides are approved by Twitter so it automatically adds the View Photo link to tweets that include one of those services. If you want the View Photo link in your tweets, consider uploading photos using the TwitPic API or similar.

Twitter button to reply to a tweet

I am looking for a way to create a Twitter button which would automatically post a reply to an existing tweet, without the API.
Clicking the button would open a pop up window with a Twitter status form. Tweeting from the window would create a reply, which would have the tweet_id replied to in its metadata.
Any help appreciated.
Use Twitter's Web Intents for this. You can setup the tweet intent to take a in_reply_to parameter indicating the tweet that is being replied to. It's pretty much as simple as creating an HREF pointing to https://twitter.com/intent/tweet?in_reply_to=12345
If you incude Twitter's optional Javascript, the HREF will become a pop-up automatically and you can further track the events.

Twitter Tweet-button with opengraph support? Is it possible?

I've already added the Facebook like-button, the Google +1 button and now i'm adding the Twitter Tweet button but noticed that it doesn't make use of any the opengraph metatags i've embedded in the <head> of my page while facebook and google do.
How can i make the Tweet Button use the data from my OpenGraph metatags so i don't need to add redundant data to my page just to get the tweet button to work correctly?
Currently Twitter doesn't support any kind of tags . See https://dev.twitter.com/discussions/1244 . However you can add a picture and location through the media API https://dev.twitter.com/docs/api/1/post/statuses/update_with_media
There are some kind of "automatic" integration but only for big players such amazon.com , youtube.com etc ... Try to tweet a link with any amazon product and the tweet will automatically get populated with additional info such a picture, add to cart button etc .

Post with Twitter API and PHP

I am new to Twitter API and in twitter in general so I have some questions. I have a web site and I want to add a button for sharing a message (for example "Hello World", taken from my site) to a user's twitter page.
First of all I have created an application in twitter, call myTwitterApp and I want to post through this. When the user clicks the button I want to see the authentication page, for login, and then after login I want to see my message inside the editable input, being able to be changed my the user. And finally I want the user to post it by clicking the tweet button, but continue saying that the post was "via myTwitterApp".
Does anyone have an idea how to do it or how to search about it?
Thanks in advance.
I have some experience with the twitter api lately, but not comprehensively. so I can only give you some kind of direction, and hopefully this will help you. So the idea is that you should understand how the Oauth protocol works, steps like requestToken->accessToken->api calls. there is a tutorial for beginners here http://oauth.net/documentation/getting-started/, you shold take a look. if you have manage to go through the oauth authentication, then you should be able to call the POST method which you can post contents to Twitter. you can search for Twitter oauth api, there are a bunch of them online. grab one and use it.

Resources