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.
Related
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 got a request at work to create an SMTP server so that our website can sent automatic emails on daily/weekly basis. In simple - we have a website running on node.js and I need to give it an ability to automatically send emails based on time or/and other conditions.
Since I never worked in this direction (and I just got into this field) I decided to ask a question here, to see what you(experts) have to say in regards of this subject.
p.s I might have a wrong understanding of how this should run, so feel free to correct anything that I said.
Since setting up a brand new smtp server and managing correct configuration, security, and most important, domain/ip reputation can be a real pain, I would suggest using a cloud service for this task to get you going faster.
A few of these services, some of them with free tiers are Amazon SMS, Mailgun, SendGrid and Mandrill. At least Mailgun has a API wrapper available for Node.JS.
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 6 years ago.
Improve this question
How JavaScript take user ID and password? And where do it stores that data? And how it check the authentication when next time user wants to login in?
It doesn't. JavaScript running in the browser cannot perform meaningful authentication. You'd need a server-side application that performs the authentication. At most, JavaScript could perform an AJAX request, sending the user ID and password to the server — but how exactly you'd do that would depend entirely on the application. You'd need to read the documentation for your system to find out how authentication is performed.
(It is conceivable that we're talking about a server-side application written in JavaScript à la node.js, but since the question is not tagged as such I'm assuming not.)
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/
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.
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.