Facebook notification on third party software - php

Is there a fb api that allows user to get fb notification or latest wall post by friend on their own website? this means that the software will requires user fb credential.

If you are trying to create your own site that gets data from the users latest wall posts, you can use the Facebook Graph API https://developers.facebook.com/docs/reference/api/
To pull most recent wall posts (in JSON format), use:
https://graph.facebook.com/me/feed?access_token=<UserTokenHere>
The Facebook Graph API site above gives lots of good info on how to use this. If you are trying to do something else, please clarify your question.
Cheers!

Related

Programticly post a text with image on google plus wall/stream

All I want to post a text with an image on Google+ wall/stream using Oauth2 and PHP. Similar to a wall post for Facebook and Tweet post for Twitter.
User click on share on Google+ button from my website, they redirect to the google app approval page, they approve and message with the image get posted on their stream/wall.
I have searched almost entire internet for this requirement. But I didn't get exact code to achieve this.
I have already checked this: Google APIs PHP client
However the code is not up to the point or clear.
Some people says that it is not possible, google only allows read operations.
But then some people says it is possible according to this: Creating new posts and comments
Google documentation is very confusing for this requirement, compare to Facebook and Twitter.
So all I want is clear answer whether is it possible or not? If yes then how?
The google plus api is read only it does not support posting in any form. Google plus domains is for posting to Google domains accounts not google plus the social media website.
Develop business apps that integrate with Google+ With the Google+
Domains API, Google Apps customers and ISVs can build custom Google+
functionality and services for people who use Google Apps at college,
at work, or at home. Organizations can develop tools to interact with
Google+ features such as posts, comments, and circles. These tools let
your users share information, reinforce communications, and grow
productivity within your organization.
Pages API is for posting to Google+ page and is in closed beta.
There is no way to programmatically post to the google+ social media website wall/stream. However there is a six year old issue request for it Write access to the streams.

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

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.

Twitter REST API, update status?

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.

post message to facebook news feed

I am running an ecommerce website in php. When facebook connected users make a search or post a sale, I want it to automatically post messages to the user's facebook news feed. I wonder how i could do it? any articles I can read about?
Thanks,
For that you need to take publish_stream permission from user. Read this

Categories