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'm a beginner at PHP. Currently I am developing a Facebook comment box on my site. I created a comment box successfully, and if I login in this sense it will go through facebook.com.login.php , but I need that login go through my web site page instance of facebook.com. Is there any code for it?
Can anyone can tell me the answer please. I'm little confuse about it...
Have you tried using the Facebook code generator to give you your comment box? http://developers.facebook.com/docs/reference/plugins/comments.
This should generate all the code you need and use a pop up box for logging in to Facebook.
fb:comments should allow anonymous comments. You need to initialize the Javascript SDK before using it.
Read more here: http://developers.facebook.com/docs/reference/plugins/comments
<div id="fb-root"></div><script src="http://connect.facebook.net/en_US/all.js#appId=APP_ID&xfbml=1"></script><fb:comments numposts="10" width="425" publish_feed="true"></fb:comments>
Hope it helps
Related
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
Well im working on a small php script and i want to make a test to see if the visitor is logged to facebook in his computer using php.
I want to do it in these way:
If (USER IS CONNECTED){echo "yes";}else{echo "no";}
Is it possible? if yes how can i do it ?
There is no documented way to achieve this. The JS is there for a reason (AJAX requests).
The article you're referring to is exploiting redirects after login, and doesn't even work (fails to recognize you're logged into Twitter). Something that starts with "I found a way to abuse" shouldn't be taken into consideration.
That's unethical, it exploits a loophole that will be fixed sooner or later, and I call it cracking.
Why would you need this information anyhow?
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
i want program chatroom and private chat between user .
in click on each user name in chat sidebar open new page like chatbox with beautiful layer and without standard button like close or minimize .
example : pic
Code
User1
User2
User3
how i can design this page and open this page when click on name?
Well If I understand you correctly you are indeed looking to create a web-based chat application (like the Facebook chat), am I right?
We won't be able to provide code for you, that is your job, but instead I could give you a resource to a tutorial that you mind find useful.
http://net.tutsplus.com/tutorials/javascript-ajax/how-to-create-a-simple-web-based-chat-application/
Or you might find any useful script here http://php.resourceindex.com/Complete_Scripts/Chat/
Best luck to you!
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
I need to provide some functionality to another site.
What way is better and why?
1. Iframe
2. Provide PHP code and HTML/CSS.
I trust another site's admin.
First option is good but you keep all the responsabilities on your side. if an error occur, you're the only one to blame.
HOW? : you generate a regular Html page and give them an iframe. that's how facebook does it.
Option 2 is the eazy way but you talk about storing things into your DB. in this case i hope you know the guy who manage the other website.
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 9 years ago.
Improve this question
I really don't want to use any software, I want to learn by myself. Nothing like WordPress though. All it is, user goes to example.com/login. and they enter a password. After that all they see is Mark down text-editor. They put in content then click enter. then it generates to the page. Creating a short summery for the front of the page then having a link to the whole page.
How would I accomplish this? Any tutorials?
Sounds like you need a basic PHP/MySQL tutorial. Here's an good one:
http://www.w3schools.com/PHP/php_mysql_intro.asp
Once you get through that, building a simple CMS will be a snap.
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 want to build a chat application using PHP. Does anybody have any idea about it? If so please reply.
The chat application must be user friendly, multiple chatting scenario must be there.
Sounds pretty straight forward.
Ajax-polling front-end -> chat_handler.php -> backend database
Done.
If you want to create a "Shoutout" type public chat system, it's pretty easy to achieve via PHP/MySQL/jQuery.
You just have to take input from a form. jQuery will submit values to a database via a backend php file.
To refresh the submitted messages after regular intervals you can use setInterval function availabe in jQuery.
Maybe this will help:
http://net.tutsplus.com/tutorials/javascript-ajax/how-to-create-a-simple-web-based-chat-application/
just buy one if you don't want to code. Comet Chat is a good one, like Faceb00k. Just google