For a project, I wan't to build a webapp, which shows (semi-) real time Tweets with specific keywords.
I'm not sure how to start. Can somebody explain to me how I need to start. I have a PHP framework for my website.
With what language do I need to retrieve data form the Twitter API. JSON? PHP?
Where can I find a nice tutorial?
I hope somebody can provide me a few lines of code, just to help me on the right track.
Thanks!
- Sammy
You could use the Streaming API with the Phirehose library (PHP).
The method "filter" of this API catch all the tweets with the specified keywords in real-time. You can take a look at 140dev for an example of application using this library.
Related
I have a private business Twitter account and I would like to know when someone clicks any link inside one of my posts. This solution cannot assume that we know the form of the link being posted.
For example a twitter post like this:
Have you guys heard of this amazing site called google?
I would like to see how many people clicked on this google.com link. I don't need to know any specific information about who they are, just if it was clicked or not.
Ideally I would want this from the API but crawlers and plugins are also possible. I would like to avoid using a paid tool but those would be acceptable.
I think you have multiple choices:
Use google firebase or google analytics
Create your own short link services by python or any other programming languages.
Just search in the google and look for short link generators which gives appropriate service.
Hi using the twitter api you should be able to understand how many clicks a link has.
https://developer.twitter.com/en/docs/twitter-api/metrics
But to have all this info automated you might need to use a third-party tool.
This should be the most straight forward solution.
I have been tasked with creating an internal app that interfaces the Rally API to do various 'legwork' for a speedier day around the office.
I am frustrated because I cannot find documentation on exactly what is available and how to use it. I am scraping and scraping away on different sites, google, etc just to find stuff like 'hierarchicalrequirement' is actually UserStory. so, it seems to me that Rally really doesn't WANT anyone to use their API... quite frustrating.
Their documentation says things like toCreate["Workspace"] = ('1234567')
where it's actually toCreate["Workspace"] = /workspace/1234567
I need an enumeration of what's available and what they're actually named.
It looks like you are trying to use one of their SDKs. Their documentation for their REST API can be found here.
https://rally1.rallydev.com/slm/doc/webservice/
Also, here is the link to their app API,
https://help.rallydev.com/apps/2.0/doc/#
And their lookback API
https://rally1.rallydev.com/analytics/doc/#/manual
And if you want documentation to a specific language SDK, you can look at Github.
I have a book recommendation project for school, and I want to add a picture for each book. I was thinking I could use a search engine API to return the first result, but I'm having trouble with them:
The Google .NET Api seems to be unsupported
The Bing API
The Flickr Api is well documented and it actually works, but the images on there aren't what I'm looking for
Have you tried http://jpg.to ?
[searchterm].jpg.to
i.e.
http://programmingfordummies.jpg.to/
http://clockworkorange.jpg.to/
http://fantasticmrfox.jpg.to/
I would like to use the twitter site-streams but I can't find a way to use them. There is no API-docs online and how to access site-streams.
Does someon have an example in php or better c#?
Are there any API-samples or a full API-doc?
Thanks
Matthias
I called oAuth before doing something similar to Shannon Whitley's user streams example. Use the curl commands generated for you at dev.twitter.com to double check your C# generate urls.
The site stream url is buried in the top middle of the doc (/2b/site.json?follow=1,2,3,4,5) # dev.twitter.com
I'd also follow #sitestreams as well to get heads up on site stream restarts.
The API looks to still be in beta, I found this. It's not a lot of detail, but the post was only a few weeks ago so it is something pretty new. It uses the same REST API that all of twitter uses so if you are familiar with that you should be able to use what it gives you.
If you need a tutorial on REST with twitter here is a decent tutorial. It is using basic authentication so I do strongly recommend that you use OAuth instead.
I'm writing a location base client and would love to integrate Panoramio with my client, now the problem is that I can't find a way to interact with the Panoramio using a ~REST-like service.
I know they do have an API but it's mostly for embedding the content into a website and not as to interact thru me code (at least from documentation)
Have any of you hacked a way thru this?
I am writing the clients natively for android and iphone in case you are wondering.
cheers,
G.
well it seems like the answer came a bit fast... and although this is easily accessible thru their website it is discussed in their forum and even google has posted about it in their geo developer blog
a sample request to get images from a bounding box will go along the lines of the following example:
http://www.panoramio.com/map/get_panoramas.php?order=popularity&set=public&from=0&to=10&minx=-124.29382324218749&miny=36.089060460282006&maxx=-119.8773193359375&maxy=38.724090458956965&callback=MyCallback
Update: I have found also the official page to their data api.
hope it helps!