I am exploring the Twitter streaming API and have gone through various documents and examples, but I don't know where to start.
I could not find a beginners tutorial.
Most of the examples use a username and password - are these the Twitter account username and password?
I appreciate if someone can list down the steps to follow.
I am working in PHP.
Twitter have deprecated API v1.0 which was using only username of any person to get tweets.
So you have to use API v1.1. Please go through following links, you will get much information about creating API.
Simple Tweets
Advance with layout
No. You can not get all tweets. This is called the firehose and costs several million dollars a year. Twitter only sells that to a few partners.
Related
He there,
I am trying to get a grip on the API of linkedin. What i want to develop is a marketing-dashboard for clients with campagins and there analytics. The documentation on linkedin is not very helpfull (could be me thought). Do i have to be registered as a partner for this? And can anyone help me with some examplefiles or library based on PHP?
Unfortunately the Zoonman tutotial only shows the 'Authorization Code Flow'. For data of campagins and sponsered content on linkedin i need 'Client Credential Flow'. And as i suspected i do need to be partner first to be able to use the LinkedIn Marketing Developer Platform - API.
I am trying to create a portal where users after login can search other members, update their own profiles etc. I want to integrate every users LinkedIn profile to the website so that when anyone is searching for a member, the results should be the as per the LinkedIn profile of that person being searched for.
Moreover I'm using PHP and MySQL database in the back end.
How to enable this feature in my website using the LinkedIn API ?
You would download a wrapper for php to interact with the LinkedIn API first....
LINKED IN PHP WRAPPER
Then from there you would create a database to store new users names, and ids' along with their l=LinkedIn email. Which will be the reference to their linked in profile.
Which you would give them the option to login via LinkedIn, with oAuth.
Some helpful links to get you started...
But if you don't know much about PHP or programming in general. This might all seem very confusing at first
TUTORIAL 1
Simple LinkedIn PHP library
Getting OAuth token
I want to build a website that you can login with your facebook account.
what tutorial or any good beginner's book is there on this issue.
Is there any good sample of source code for this use
can I get the friends lists of my users and split it to males and females?
what is the difference between GRAPH and Facebook API?
Facebook have a few methods for integrating facebook in websites, check out the Facebook for Websites tutorial.
You have a few ways to implement this using the tools facebook provides you with, for example you can use the Registration Plugin (you can find code & examples in this tutorial).
If you have a facebook application and a user authorizes your app, then you can get the list of his friends. Without asking for specific permissions though all you will get is the their names/facebook ids. If you need more than that check out the Permissions documentation (2nd column refers to the friends).
Both things are the same, you just gave them different names.. It's called the Graph Api, there's no other "facebook api". This graph api also supports FQL in case the api alone is not enough for what it is you need.
I have a task to create a dynamic page (PHP or Javascript) that shows:
Number of tweets with specific hash tag
Number of tweets that came from specific country!!
most popular hash-tags for specific country
does anybody have any idea of how to get such stats or part of them??
Thanks a lot for your help
Yes, but you should really search more because there's a lot of information out there on this - start at the Twitter API Docs.
You use it as a search term
Try https://dev.twitter.com/docs/places/finding-tweets-about-places
Combine 1. & 2.
No. Twitter releases its statistics after a certain period of time. There's no definitive/official API for that. But there are a lot of third-party applications that offer that.
InsideTwitter
Twitter by Country
Twitter Counter
I want to use Twitter's Streaming API to collect all of the tweets of users signed onto my website - of course I would have an oauth token and secret for them, but I want to store their tweets as they make them. Is that possible with the Streaming API? If so, can anyone point me to some PHP library that will help me implement such a task? I tried looking in to Phirehose, but I don't understand how to use that library to get the feeds of all the users signed up on my website. Any help would be greatly appreciated.
Take a look at the 140 Twitter Server.
Adam creates a lot of great helper code around the twitter API, a lot of great articles too.