Hii..
I am working on developing a website and I want it to be integrated with Facebook, i.e. I want to fetch logged-in user's information like his wall info, comments, his feeds etc. along with his friends's information,their comments etc..
Also I want user of my website to be able to post comments, feeds on his wall, update / upload picture etc.
And all that I want to do using facebook API..
Is there any way to do it..? Please help me out, I am really not getting the way that how to do it..
Yes this all possible, but your question is too vague to have definite answer.
First you need to learn about:
Social plugins
Javascript SDK
Authentication (see Single Sign-on with the JavaScript SDK)
FQL
If after that you still have some specific questions we would be able to help further.
I'm not sure what languages/technology stacks you may be considering for your site, but you could also check for plugins that interface w/ the fb API such as
Facebooker - Rails plugin
Facebook Graph Plugin - Grails plugin
Related
I have a private business Twitter account and I would like to know when someone clicks any link inside one of my posts. This solution cannot assume that we know the form of the link being posted.
For example a twitter post like this:
Have you guys heard of this amazing site called google?
I would like to see how many people clicked on this google.com link. I don't need to know any specific information about who they are, just if it was clicked or not.
Ideally I would want this from the API but crawlers and plugins are also possible. I would like to avoid using a paid tool but those would be acceptable.
I think you have multiple choices:
Use google firebase or google analytics
Create your own short link services by python or any other programming languages.
Just search in the google and look for short link generators which gives appropriate service.
Hi using the twitter api you should be able to understand how many clicks a link has.
https://developer.twitter.com/en/docs/twitter-api/metrics
But to have all this info automated you might need to use a third-party tool.
This should be the most straight forward solution.
Twitter offers 'web intents' that are an alternative to OAuth access to their API. Basically, this provides a less feature rich experience, but can still be quite handy. User clicks on 3rd parts websites can create popup windows that check whether the user is logged in to twitter and if they are, allows them to us some Twitter features such as tweeting, retweeting, or following users.
My question is, how could I go about implementing an API like this? Are there tutorials or libraries? I'm not sure what technologie(s) power web intents or where I should start searching.
Thanks.
You can read more about web intents at webintents.org and read the W3C's draft spec. As far as I know, web intents are still somewhat of a new beast on the web and they have not been standardized.
Still, you may want to read this blog which contains a few examples of registering web intents and check out Paul Kinlan's git repo https://github.com/PaulKinlan/WebIntents
Hope that helps you get started.
Is it possible to have the user "like" your page during the registration process using the Facebook Registration/log in function on my website. I know you can have custom fields, but I don't see anything that talks about this. Please tell me where I can find this information. I don't want to be repetitive on my website by having them do this twice.
Authenticating an application is not the same as liking an application. So they are two distinct things. You can create something called a fan-gate to prevent the user from seeing the good stuff if they don't like your app. Google fan-gate and you will see some examples of how to implement.
For example...I would like to make a "client". First, people post to my client, and then to Facebook.
(I want to make a client so that I can store posts)
Facebook has a number of APIs, including ones which will allow you to do the thing you describe. The term "posts" is a little vague since that covers a number of things on Facebook, but as an example there is the Status.Set API Call you can be used to update a user's status.
A useful place to start would be the Facebook Developer Wiki.
You should try "Google" before posting a question. There's a portal for developing applications on Facebook called...
Facebook Developers
By client API, I assume you wanted a "Desktop" client, if so you probably wanted the...
Facebook Server API
...which you can use to add a post/comment, for example.
If your are targeting a .NET environment (ASP.NET, Silverlight, WM, ...) you should take a look to this toolkit: http://facebooktoolkit.codeplex.com/
Namely, does the Facebook API make this possible? I'd like to leave my news feed intact, but remove posts that meet some criteria for things I don't want to see (e.g., don't show me anything that sounds like Dick Cheney might have said it). Does the Facebook API allow apps to customize a user's normal news feed? I spent a few minutes looking at the facebook developer pages, but didn't see any direct answers to my question, so I was hoping some developers who were experienced with Facebook's API could help me here.
Before anyone mentions it, I don't want to just hide updates from those users. They may post other updates that I want to see, so I'd prefer to filter out updates based on content.
There is a Greasemonkey script called "Facebook Purity" which does this. You could probably look at the source and alter it to your specifications.
You could parse the news feed into a database on your site then use code to parse whether or not to display it.
yes this is possible but only if all your friends decide to add your application! otherwise you may be not able to access their feeds.
Its been a while since i used Facebook SDK so this may have changed.
The API provides very little news feed integration, and no you can't use the api to prevent news feed items from showing up in a users feed. All you can do is post and get, and you can only post 10 items a day, "significant" interactions. The Facebook API wasn't designed to enhance or alter the core Facebook experience, it was designed to allow developers to create third party apps that add to Facebook within a very limited and tightly controlled sandbox.
The Linq to facebook project looks quite interesting and may allow you to do what you are asking (if using .NET 3.5). My apologies for a link to such a pink website ;-)