Am not sure there is a feature like ,
automatically update twitter tweet in to facebook ,
May i know is there any like automatic update ,
For Should i use API or CURL , or anything else ,
Thanks
just i find one thread from google
link text
Is there any thing else then this thread...
You can do it using the twitter application on facebook. There is more helpful information here
There are a couple existing ways to do this. As Shadi suggested you can use the official twitter app. or if you would like more control on what is sent to facebook you can use tweelay.net (full disclosure: i am the sole developer of tweelay)
If you wanted to roll your own:
I suggest using the Twitter Streaming API backed up by a standard statuses/home_timeline call from a cron job every minute or so to grab tweets. then with the tweets you can send them to facebook using the Graph API.
There are several existing libraries that can be used to get you started.
Related
I currently have Google OAuth 2.0 for authentication. Next I want to be able to use google hangouts in my website so users can chat with each other, along with showing their contact list. So basically I want it to look like how it is on gmail but on my website for hangouts. Main reason for doing this, I want my users to be able use hangouts as a mode of communication. Please let me know if this is possible and provide the necessary resources, an example/demo of this working would really be helpful.
Im afraid there's no API at the moment available (nor plans for that) to access the text chat feature of Hangouts.
yes, you can. More information about google hangouts API here https://developers.google.com/+/hangouts/getting-started
how can you count the count number of tweets for a specific hashtag on twitter? is there a way to avoid php and creating twitter app on the twitter developer site?
i might want to use go or c++ instead of php.
Thanks,
Geri
In order to count Tweets in real-time, you will need to use the Twitter Streaming APIs, in particular the statuses/filter endpoint. Using the track parameter with the hashtag you are interested in, you will receive matching Tweets in real-time.
In order to get started, you will need to create credentials for your Twitter app on https://apps.twitter.com/, then consume the API from your favorite language. The fastest way is to use an existing library which will handle the authentication and the connection to the Twitter API for you.
If you want to use Go, I definitely recommend twittergo by #kurrik which supports the Streaming APIs. For other languages, you can take a look at this page on Twitter Libraries.
You can also use tweepy a python API to access twitter APIS . But first you should have twitter streaming API access for that you should have an account at apps.twitter.com
You will always need to create an app on the Twitter Developer portal https://apps.twitter.com/ as this is where you get to manage your API OAuth keys. As Romain says, the best option here would be to use the Streaming API.
I want to integrate the Facebook chat system in my PHP based website. I have
searched developers.facebok.com for data, but it says very little about Jabber XMPP, and I don't know how to use it. If you could post some step-by-step tutorial for integration of Facebook chat or any link for that tutorial that would be so nice of you.
I just want to add Facebook chat as I need to do add some on action events for this chat.
So I want a code tutorial for this. I'm searching for any direct code embedding.
Give Jaxl PHP Library a try which also supports X-FACEBOOK-PLATFORM authentication method. There are plenty of examples xfacebook_platform_client.php to help getting started.
I do not think that you can embed existing Facebook chat so you have to write your own client. As Facebook chat protocol is Jabber/XMPP, you have to implement a chat with XMPP capability.
There are some libraries mentioned on http://xmpp.org/xmpp-software/libraries/. Maybe there is also a ready-to-use XMPP chat software.
Direct code embedding of facebook related chat , you can consider impossible since integrating facebook chat is really a tough job and people actually pay and get it , for example CometChat . The second point is that , since your website is purely php based , it will be much more difficult . Better use nodejs to create a socket server make a chat in Javascript that would connect to our Nodejs server.
As you , go through this implementation , your job will no longer seem hard . Believe me , it took me months to realise that php wrecks in this area of chat .
I am wanting to allow a user to update their twitter status from my website. I was planning on using Twitter's #anywhere feature, but this was not a very friendly solution:
Take over 3 seconds to load
Makes 14 requests
Calls jQuery twice
Then I found the Twitter REST API: https://dev.twitter.com/docs/api
Using OAuth, I want the user to be able to login, and then update their status using that API. I've been trying to find tutorials on this, but I haven't found any that use the REST API to update the Twitter Status.
Does anyone have code for/know of a tutorial for what I'm looking for?
Just post the data to update api endpoint.
You can read twitter update api doc for details : https://dev.twitter.com/docs/api/1/post/statuses/update
And there is a open source twitter client written in PHP, named dabr. http://code.google.com/p/dabr/
Adam Green has a nice tutorial in PHP that walks you through everything from setting up your application on the Twitter developer site to posting your first tweet.
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.