Get images data and user data from facebook [closed] - facebook

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 2 years ago.
Improve this question
I am working on a final year research project which is Intelligent Travel Recommending System. In this work I want use social media data to analyse what type people prefer what type places to travel.So I have to collect travel images posted by users in public and that user's data(age,nationlity,gender etc).I supposed analyse those images and categorize(natural,historical,hiking) them. Then I can recommend a place to a perticular user by using those categorized data and user data.So my problem is can I get those data from facebook now in 2020?
I've read some articles in internet and they've used graph API to acess data as a developer but the problem is fb no longer give acess to others data. If that's the case is there any other way to get public data?I mean can I scrape data from facebook or is there a better way?I am still a university student and I would be grateful if anyone can help me with this isse?

Access to data of people who did not specifically authorize your App is not possible, no matter if public or not. Facebook specifically forbids scraping, so there is no way.
Also, you would not be allowed (or able to) contact specific users without their consent/approval.
I am afraid your idea would only work for people who autorize your App.

Related

Get data of website [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I'd like to get the data of a website. I'd like to display the table in an app. Do you have an idea how I could do it? Thanks for your answers!
Usually, you'd want the maintainer of the data you need to supply some API for machine-to-machine communication (a REST JSON web service, for example).
Since you are asking how to display the table in an app:
the easiest way would be to just point an UIWebView that way and go from there.
a more native look might be acomplished by parsing the data. As you included several 'parsing' tags, I guess this is what you'd prefer.
The problem with HTML scraping web pages (what you probably hope to do) is that the data you are looking for and foremost it's structure is prune to changes. If some unexpected changes can easily break your parser.
Thus, if you go for doing that (which might be prohibited by your school or other publisher, especially in germany), try to parse the data on your server and offer an web service for your app yourself. This way, you can react to changes of the structure faster and do not break the app for your users.
Seriously consider asking the school for an API.

Getting the locations of facebook likes [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I am curious; is it at all possible to somehow get data about the locations of likers (those who have a public location anyway) on facebook pages?
I'm merely curious for statistical reasons whether A or B is more popular in country Z, etc....
I assume its not possible without a bit of coding but any points as to what would be the way to look into creating something to trawl a likes list?
There's the page_fans_country metric of the Page's insights edge, e.g.
/cocacola/insights/page_fans_country?period=lifetime
to get the lifetime likes by country for the CocaCola page. You can use this with an App Access Token like this:
GET https://graph.facebook.com/cocacola/insights/page_fans_country?period=lifetime&access_token={app_access_token}
where {app_access_token} is the App Access Token you want to use.
See
https://developers.facebook.com/docs/graph-api/reference/v2.4/insights#reading

Why do social networking sites such as Facebook, Google+ and Twitter not support posting iframes [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
Sometimes, when you would like to publish a video, an audio item, a widget, etc., on your website, you're provided with code between <iframe> and </iframe> which you can copy into your website.
I thought it would be really cool if social networks such as Facebook, Google Plus and Twitter allowed us to post such code in our posts, status updates and tweets.
I'm not seeing this happen and I don't understand why?!?
Does anyone know?
UPDATE: Because an iframe can't contain anything that you couldn't post on a web page, I didn't think there would be any security issues. It's really sad that the BIG players are so closed minded. We could do lots of interesting things if they weren't so eager to control everything: for example sharing widgets of 3D products we could print and which may be found on http://www.shapeways.com/featured?li=nav or elsewhere. I find that we're being limited right now, because the BIG players are so busy creating proprietary silos, each one having his own app store and proprietary data formats. Personally, I'm all for open source software and open data we can all share and experience without being locked-in. There seems to be no shared vision for an integrated www where html pages representing widgets may be embedded inside other html pages. This would also be interesting in the field of data visualisation as the widget could be built on javascript frameworks such as those listed here: http://sixrevisions.com/javascript/20-fresh-javascript-data-visualization-libraries/ The www would undoubtedly be a lot richer and more interesting. IMHO the web shouldn't belong to any few major companies, because we ALL make the web what it is.
The simple answer is that these sites do not want you to be able to display anything that you want on their real estate. There are also security concerns in some situations, such as embeddeding something that looks like a log in form, but is really a phishing attack or other issues with it seeming to appear like legitimate content.

can I use YouTube Videos as main content on my Facebook Application? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
I'd like to create a Faceook application which is same like Socialcam but in a different aspect, which is sports.
I can get the user Page Likes which are sports and create the video playlist according to them, in the process or creating the list of videos I would like to use Gdata api and use Youtube to pull youtube videos.
Is that possible and is there any restrictions on that from the Youtube?
Thanks all
Edit:
It seems this is not possible as far as I can see by Googling and reading their Terms because I need to run Ads on my site.
Using YouTube videos in a Facebook application is quite possible and relatively very easy (though you need to check each one has the embed flag set).
Whether you are allowed to depends on whether your application is monetised (i.e. runs ads or the user pays for it) and if the videos are the main content where they're displayed within it. The full terms of service are available at http://www.youtube.com/t/terms

Architecture for iphone app with facebook connect [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 6 years ago.
Improve this question
I'm working on an iphone app and i would like to seek advices on what's the best architecture for it.
Basically, the app implements facebook connect for users to login. Users will be able to select their friends whom they can message/send photos to (think of whatsapp). I will have a server which i intend to use to store their sent messages and photos. Whats's the best way to separate the components? And also, should the logic that deals with sending data to my server and reading from it know anything about the facebook connect componenet?
Does anyone has any ideas on whats the best architecture for such an app?
Compartmentalizing data access is a widely accepted practice and in your case, data access is:
Connecting to FB
Connecting to your database server
Ideally your domain logic shouldn't know where it is getting data from (web service, database, FB, G+, etc). All it should know is that it is getting data, and what it should do with that data.
Some common patterns that address abstracting your data access layer from your domain layer are:
Repository
DataMapper
The above links are to Martin Fowler's blog, but some searching around google or stackoverflow should yield additional clarity:
Data Access Layer Design Patters
Microsoft Article, but relevant to any modern OOP language (even mentions ruby).