How can we get details from twitter and facebook using PHP - php

How can we get details from twitter and face book using PHP
suppose think that i am developing a site which have Twitter and Face book Log in, i will have only a user name not so much details,that's why i am asking, how can i get details like,
DOB,Address,Current Town, Country So on

How's about starting to go over their API docs?
http://developers.facebook.com/docs/
http://apiwiki.twitter.com/Twitter-API-Documentation

Related

Integrating LinkedIn API in PHP

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

How to add an event to other person's Google Calendar with PHP API client?

I am working on a web application with a build-in agenda. I want to add the items that have been added in this build-in agenda, to the user's Google Agenda. But there is one thing I am wondering. How to get access to that user's Google Agenda?
I was able to get access to my own agenda by adding the XXXXXX#developer.gserviceaccount.com email to the list of addresses that have access to my agenda. But asking everyone to do this isn't really user friendly.
So does someone know the best way to request access to another person's agenda so I can add events through the Google PHP API client?
Thanks in advance!
Consider using Oauth tokens. See https://developers.google.com/accounts/docs/OAuth2
and https://developers.google.com/google-apps/calendar/auth

Scan any twitter account

One of my friend give me this challenge.
Monitor/Scan any twitter account for specified keywords inputted into the
program and grab the twitter Link Instantly and proceed to add to cart.
Must be using the Twitter API with oauth! Must find the tweet instantly or
BEFORE it is even tweeted out by the twitter account!
Please guide me
Thanks
You can get information based on tweets with the twitter GET search/tweets API.
There is no way anyone can guide you through all of this from here. But we can shoot you in the right directions and help you through the parts you get stuck at!
Here is a link to the GET search/tweets API
Click Here
Get the API and build a working environment on your local machine. From there if you run in to problems ask and you shall receive answers!
Hope this helps!

Viewing Posts On My Companies Page and Commenting On Them Or Messaging The OP

I am working on an integration script which will allow our company to view all posts on the companies facebook wall from within our CRM system and then allow support staff to comment on questions asked or in the case where something can't be discussed on the public wall have the option to send that user a private message through Facebook to request details.
Is this something which is possible with the current API and if so where would I look. I have been looking through the PHP SDK on the Facebook developer site and have been Facebook::api object but am having difficulty finding information on which methods I need to call to do what I am trying to do and how I gather the information I am after.
Cheers
The PHP SDK just provides you with methods to access the Graph API. To find out, what the Graph API is all about, please read its documentation.

How can I retrieve address book contacts using the Zend Framework?

I want to add contact fetch (gmail,AOL,hotmail,yahoo) script in my social networking site using zend-framework.
Any one can tell me how to do this ?
imo, you would have to log in to the account, get the contact book, scrape the info, show the user the contacts and let him confirm the ones he wants to add, you may also have to have a look at the google api to achieve this.
Still, this is just how i would give it a go. :)

Categories