How to embed a Facebook page's reviews into my website [closed] - javascript

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 8 years ago.
Improve this question
I am trying to figure out how to have the Facebook reviews listed for my company embedded into a page on my website. Here is the link for my Facebook reviews: https://www.facebook.com/jump2itpartyrentals/reviews?ref=page_internal. I thought that since this feed was available to the public, I could get around having to obtain a Token to access it, but I haven't had any luck with it.
Any help sure would be appreciated. Thanks!

Since there is no Social Plugin for this, and since scraping is not allowed on Facebook, you MUST use the Graph API for showing the Ratings/Reviews on your external Website. The docs offer everything you need to know, including some example code: https://developers.facebook.com/docs/graph-api/reference/v2.2/page/ratings
You have to use a Page Token. I suggest using an extended one, since it is valid forever. Here's more about Access Tokens, if you don't know how they work:
https://developers.facebook.com/docs/facebook-login/access-tokens
http://www.devils-heaven.com/facebook-access-tokens/
Scraping terms: https://www.facebook.com/apps/site_scraping_tos_terms.php

try taking a look at this page in facebook's developers section. it has a bunch of api's for you to use. https://developers.facebook.com/docs/plugins/comments This is a comments bar that will display all comments of your wanted url.

Related

web crawling pages with JS events [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 4 years ago.
Improve this question
I am trying to get a list of singles released in 2018 from allmusic.com.
It is easy enough to go to their advanced search page and input those parameters, but then I would have to copy and paste the information by hand. All the information is in the html, but it has be generated by clicking the search button and the page navigation buttons. The url itself doesn't change. That puts it well out of my ability to crawl via my limited beautiful soup skills.
Does anyone know how to web crawl java script generated html?
Without looking into the details of the particular website, I imagine you would need to find out what HTTP requests the JS code is making and work backwards from there.
Start by inspecting the network calls (e.g. in Chrome DevTools, just look in the Network tab) and then write something to make those same calls to retrieve the data.

Get Posts from Facebook Page PHP [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
So I've done a lot of searching on the world wide web for this but I can't seem to find what I'm looking for. I want to be able to get all of the posts in order of upload from a specific Facebook page without needing a user to login. I would want all the data coming in a JSON format and using either PHP or if needed Javascript.
I know I don't have any code but I've spent many hours trying to get the answer behind this and asking here is my last resort really. Thanks for any help :)
What you are looking for is in the official Facebook docs, including example code: https://developers.facebook.com/docs/graph-api/reference/page/feed#read
It´s actually the first entry when you search for "get facebook page posts" with Google ;)
Without user login, you can only get posts of a Page if it´s not restricted by age or location. You can use an App Access Token for that.
More information about Tokens and how to generate them:
https://developers.facebook.com/docs/facebook-login/access-tokens
http://www.devils-heaven.com/facebook-access-tokens/

Login and scrape a remote website using Node.JS [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 have a login page https://www.mywebsite.com/login,
and a landing page to scrape https://www.mywebsite.com/home.
I want to create a script, preferred written in Node.JS back end server for running in the background without user interaction, that will login through login page, and navigate to the landing page after login, redirect with cookies validated through login.
So basically, it is a script that follows redirection from login page, through landing page without losing the cookies just like a modern browser does.
I have ideas in mind what I'm looking for but I don't know what's the best thing or best approach to use in order to achieve my goals. Any help would be appreciated.
I prefer Node.js as recommendation but open for many other possibilities.
I would suggest looking into Phantom.js, which is a headless browser that might support the functionality that you are looking for. Check out their cookie documentation as well. I hope this is helpful!

how to create a login page for a website using html, css, javascript and php & mysql as backend? [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 new to web development. I want to develop the front page of my website through which users can enter their username and password and login to their accounts. How should I accomplish that?
You can try to make your own implementation but there are a lot of security risks to worry about. Particularly things like SQL Injection. There are frameworks you can use to implement login pages that take care of the security for you. You just need to find the one that works best for you. Zend Framework is one example of a PHP compatible framework that does authentication.
Here is a decent starting point if you really want to write your own log-in/out routines..
https://www.developphp.com/video/PHP/Log-In-Form-Log-Out-Script-Cookies-Sessions-User-Profile
All that is lacking on that page is the layout of the database.

authenticating via facebook to update another database [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 8 years ago.
Improve this question
I am very new to web technologies. I don't even know what keywords to search with, so please bear with me.
I want to make a hybrid web app. The user visits the site and gets a login prompt to verify his/her identity via facebook.
When the use logs in correctly, they are allowed to query the database on my website. If the login fails, they cannot query my database.
I do not want any heavy duty SDKs or special purpose libraries. Is there a shortcut, lightweight implementation?
thank you for the help!
I see that you have tagged it as javascript, so i would suggest you t go through this official Facebook tutorial : https://developers.facebook.com/docs/facebook-login/login-flow-for-web/v2.2
Once the user is done with this, you just need to allow the user to query your database.
P.S. - For a more appropriate answer in regards to the later section, you need to put forward a more "to the point" question.

Categories

Resources