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
Related
I am working on PHP website built with Yii 1 framework.
I want to make articles auto posted to Google Plus business page related to the website.
I create test business page on Google Plus related to my Google account and website I work on.
I can authorize myself by getting access token using OAuth2 (authorization of users, I think it's done).
Now how can I use this access token to post articles from PHP website to Google Plus?
I started from here https://developers.google.com/+/web/api/rest/pages-signup but what is the next step after I complete this form?
How can my PHP code interact with this API?
What request should I send to post to API?
I have an api, which has a regular email password login. But I want to add facebook logins.
Do I need an app registered on facebook?
Do I need to force users to register using facebook, or just link their facebook account to their account and use it as a form of auth.
How does this tie into mobile apps? Given I am writing the API, what info does the client provide for a facebook login and what do I need to store?
There is a plethora of info out there and I am not sure where to start. I am writing an API, but I am not sure how much work my API has to do and how much the client just has to deal directly with facebook. Any specific guides tailored more toward what I am doing would be great.
A simple library called HybridAuth available that takes the pain out of building a social login feature.
Here is a very detailed tutorial from Sitepoint.
I am answering this even though this question in 1 year old, because this is visible on google search top 3 links. It might help someone who stumble upon this like I did few months ago.
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.
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 am developing an advertisement site in PHP, the user can only list there products by logging in using there account in the site. Also i need to have another option for users to login into the website using there Facebook account and hence advertise about their products. How can i implement? Do i need to create any application instance in FB for this? I am looking forward for valuable suggestions.
Create an app.
Look into authentication, and see which method (server-side vs. client-side) fits you.
Once you've implemented that, you can make graph api calls. https://graph.facebook.com/me gives you the user's basic details
Good luck.