Facebook API to download info about all friends and download their pictures - facebook

I'm trying create application that is recognizing my firends by facebook pictures that I have access to. I need to have access all my friends picstures that I can see and information about them. I haven't tried yet selenium-webdriver drivers. Facebook app API allowes me to get info only if they install my app. Is there any other way to grab infos with pictures?

There is no other way. Scraping is not allowed on Facebook, you MUST use the API. Access is only available to friends who authorized the App.
For privacy reasons, data of any user who did not authorize your App is none of your business, and you are not allowed to do anything with any data without specific permission of each user.

Related

FB Graph API How can I get the list of all user ever logged in my app?

It's possible to access through Graph API (or any other way) the list of all users logged in the past to my FB app?
Thanks
Marcello
There is no way to get that information, unless you store it in your own database.
You can see how many people using Facebook analytics. You cannot see their usernames, email, etc- you might be able to extend the analytics with some development to include those... but they dont come configured out of the box.
Here is a link to Facebook App Analytics:
https://developers.facebook.com/products/analytics

How to add blogger's RSS feed to facebook profile/page

I have a blog and I want that whatever is posted in the blog should get directly posted on my facebook profile/page. Basically I wish to post my blog's RSS feed to my facebook profile/page. I used RSS Graffiti to accomplish the task but somehow it seems like that isn't working.
You should forget about the user profile for that. First of all, you are not allowed to use the user profile for commercial reasons, it´s ONLY a user profile, for you and your friends, not a platform to advertise. And then there´s the problem with the Access Token. An Extended User Token lasts for 60 days, so you would have to refresh it every 2 months if you want to autopost stuff to Facebook.
Now for your Facebook Page, you can create an Extended Page Token that lasts forever. The rest is explained in the Facebook docs: https://developers.facebook.com/docs/graph-api/reference/v2.2/page/feed#publish
In general, you need to use a Page Token with publish_actions to post to the /page-id/feed endpoint.
Information about Access Tokens and how to generate and extend them:
https://developers.facebook.com/docs/facebook-login/access-tokens
http://www.devils-heaven.com/facebook-access-tokens/
At this point, Facebook does not let you add an RSS feed to automatically do that.
I would recommend using a tool like IFTTT which does it very well!
Facebook between 2009-2011 had a feature which allowed you to add blog feeds from any format to your profile so it would publish. It was later introduced into Facebook Pages and some how discontinued in the main profiles of users on Facebook, so that businesses appear as businesses and everyone else appears as everyone else, since currently on my profile on Facebook, my content from Flickr, Twitter, Google+, YouTube and my other accounts are automatically published to my main Facebook profile. This is because I signed up and started using Facebook in 2009 to the current date.
What really annoys me is that there is so much info online about how to do this but I have to say is that Facebook can easily adjust it's service to include RSS Feeds in it's platform through the app http:// facebook .com/apps/feed , which basically shows your updates from the games you play on Facebook, which is annoying that Facebook hasn't even got round to replacing RSS Feeds into profiles.
I'll send some support requests to Facebook (lets say tons of support requests) and I'll ask them to add it back in because other users are slightly annoyed. I'm annoyed with the childish icons that they have (including the icon for the Instagram app, which, yes, is owned by Facebook).
Another way is by connecting your apps that you use to your Facebook account by going to either the respective app in Facebook itself or by finding the setting Connect To Facebook in the Settings of your accounts on other Third-Party services. As an example, you can use PlayStation Network (PSN) by connecting your PlayStation account to your Facebook through the PS4 itself by going into Settings > Account Settings > Link Services > Facebook and then type in your login details, as usual. This will log you and keep you signed into your Facebook account on your PSN account. This means that everytime you interact with PSN by the associated Facebook service, your interaction is posted to Facebook based on the settings whether it's set to post as Private or Public. This means that everytime you play a game or decide to setup a Live Stream, your post is posted to Facebook from the PS4 automatically. Same method could also work with Blogger app for Facebook by connecting your Facebook to your Blogger account (in Google+ settings if you've switched to the new profile interface). So it's possible, yes, in other apps now more than before so it's also the reason for why Facebook probably removed Feeds.
If anyone wants to see my updates from my connected apps and connected data, you can follow my Public hashtag posts at http://facebook.com/search/top/?q=%23warrenwoodhouse and you can follow the same hashtag on every service available including PSN, Facebook, Twitter, Google+, Google Search, Google Images, Google Videos, YouTube, YouTube Gaming, Instagram, Flickr and other services. If you're interested in seeing my full feed updates, I've created a nice feed on FeedBurner at http:// feeds. feedburner .com/warrenwoodhouse

App where i can see my friends location

I'm developing a google maps based app. I would like to integrate the capabilities of being able to see your friends location/s (similar to how you can see uber cars or fiend my friends). currently i have a facebook signin option. Does anyone know what sdk i need to integrate or the name of what this is called so that i can do further research.
There is no way to get the location of Facebook friends, friend permissions are completely gone for privacy reasons: https://developers.facebook.com/docs/apps/changelog
You can only get the location of an authorized User (with the user_location permission), see Facebook docs: https://developers.facebook.com/docs/graph-api/reference/v2.2/user

Restrict facebook app from accessing user's friends list

I am using facebook to login to my website. The website does not need any information about the facebook user's friends' list. I am interested only in the user's general information.
https://developers.facebook.com/docs/reference/login/public-profile-and-friend-list/ shows the friend list also as the minimum information shared by Facebook.
Hence wanted to check if there is any way to restrict the user friend list information from being passed on from facebook to my application?
No, when a user authorize an application the minimum data shared is it's basic information and friend list.
Unfortunately you cannot change this.
Official documentation:
When someone connects with an app using Facebook Login, the app can
access their public profile and friend list, the pieces of information
that are visible to everyone. Each other piece of information that
someone adds to their Facebook profile is secured behind permissions.
Source: Facebook

get facebook post list of a specific user with a third part app

Do you know if is there any way to collect last user's post on personal wall/timeline?
I need to know how many and which youtube videos has been shared by an user, reading them from his open graph profile.
I've never wrote any facebook app, but using the Open Graph Explorer seems that this kind of information is available if the user has set to "public" the privacy options of a post that contains a Youtube video.
My question is: could a third party app ask for the permission to read that kind of information? Could it have access to these posts also if they are not set as "public" by their owners?
EDIT: Could an app have access to user's posts like another friend of that user?
You can read the user's wall by creating an app with the read_stream permission and after the user grant you access by hitting the me/feed connection. But creating a 'listening' tool app is not recommended, if your app has no value for its users then you may need to rethink your app mission.