How can you tweet from a website to twitter. I need to build a comment box that posts questions to twitter?
Thanks,
c
You'll need to use their API http://apiwiki.twitter.com/w/page/22554648/FrontPage
The Twitter Developer Center and the Twitter API wiki would be a good place to start.
There are libraries for plenty of programming languages already that will make development easier. Find them in the wiki.
Related
When I say that, I mean if I'm creating an APP that I want to work in conjunction with say instagram, twitch, or facebook, etc, where they log in with their account first, how could I go about that? I'd want to essentially do an ADD-ON and make it more accessible/easy for users. Where could I learn more about how to do that?
It sounds a big vague I know, but I'm not sure how else to explain it.
You are looking for an OAUTH API from any of those providers, if I am understanding your post correctly.
You would read the documentation at their relative websites and then apply what is necessary to your project.
More info on facebook here: https://developers.facebook.com/docs/reference/dialogs/oauth
I want to make a small application (desktop/laptop for beginners) such that I can login to my twitter account and the application can tweet for me, lets say i can pass the tweet as an argument for the app.
So let us say that if I make the app in Java, basically it can be a function like:
LoginToTwitter(username, password) {
someLoginApi(); // is there any apis exposed by twitter
}
Tweet(String Tweet) {
someApiTweet();
}
I did some research on this. Found a framework fabric. But it seems it is a plugin to tweet from a website. But I want to make a simple app to do it from my laptop for example.
I also went through a lot of previous question asked on this. But I could not really find this.
If anyone can guide me to the question which talks about this or any resource that I can look upon to solve this problem, it will be great help!
Thanks a ton
Regards
Ankur
Here's the full working code that sends tweets to Twitter using Php. Hope it helps!
LINK
I am trying to get twitter feeds in to my shopify site. I want to get the feeds and style them as I want and thus cant use a app.
I know how to do it using PHP but can not use that code in shopify and looking for a way I can use OAuth in shopify and get the feeds. I tried the shopify docs but without an example its kinda hard to actually get my head around it.
http://docs.shopify.com/api/tutorials/oauth
Thats the link I am using as a guide. If anyone can direct me to an example which might be similar that would be awesome. (google didnt seem to be that helpful this time either)
Cheers
I know you said you didn't want to use an app, but can I suggest taking a look at Twitify? You can use custom CSS to style your tweets. Also see discussions about Twitify here and here.
Twitter changed their display guidelines and policies on embedding of tweets on websites in June 2013. One of the themes I used for a client earlier in the year had custom styling of tweets, and they have now changed it to use the official Twitter widget to meet the new guidelines. In fact, the images on the Shopify theme store show how it used to look before Twitter changed things:
And after:
I think using an app like Twitify would be the easiest way to deal with these changes to embedding tweets.
Thanx for the suggestion. I did take a look at that before I posted this question. This is a project for a client and I dont think getting a plug in is a viable option. Anyways I found a work around.
Hosted the file on a server and then accessed it. So that resolved the problem. :)
I used node.js to write the script and get the posts as required.
Cheers.
you can use the app for that Twitify https://apps.shopify.com/twitify or you can Embed a Twitter feed in your online store
Go to your Twitter settings.
Click Widgets to open the widgets menu.
Create a new widget, following Twitter's instructions.
Copy the embed code.
I need some kind of Twitter feed functionality that allows people to post/reply to tweets from the website and not from the Twitter site. Is this possible? If so, what would be the best way to go about this? Does something like this already exist?
Twitter offers #Anywhere, and that sounds like what you are looking for. Essentially, this product lets you integrate Twitter features into your site using snippets of javascript. Of particular interest to you may be the TweetBox.
Additionally, jTweetsAnywhere, a jQuery Twitter widget, supports #Anywhere functionality.
If you use Wordpress ,take a look at Tweeter Tools plugin
If you use Drupal you can take a look at the twitter module or twitter #anywhere module.
I'm using Twitter's OAuth for my app (DroidIn)
To my dismay I can't find any way to track who and how often is using the app. Searching Twitter for "sent from DroidIn" does not yield any results. I suppose I can call some sort of counter app from my code but that doesn't seem to be fair to my users. Any ideas or suggestions?
It seems that yet again I have to answer my own question. After some investigation and feedback from question posted on Google Twitter developer group it seems that for now there are no stats easily accessible or available. Said that I found 2 interesting things:
You can search Twitter using source:yourapp switch. For example you can try this query
android source:API
There is very exciting streaming API from Twitter. I have a short write-up in my dev blog.
But if you want some actual stats there's no other choice today but implement it as part of your app. There's one more possibility if you have some sort of web-based interface you may want to use Google Analytics to trigger some Google javascript while submitting the update. I'm trying that right now and may end up with article in the blog