15,917,652 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by CHITRAKSH 2010 (Top 13 by date)
CHITRAKSH 2010
9-Jul-15 23:19pm
View
i want to do it using ajax, further i want that both textbox and image file can be uploaded by ajax.do you have any suggestion?
CHITRAKSH 2010
25-Jun-15 1:27am
View
i understand that pdf is not good choice, so kindly tell me about online reading using HTML/XML.
CHITRAKSH 2010
25-Jun-15 1:25am
View
ok sir
please guide me about ".. to provide HTML or XML for reading and want to implement some featured facilitating reading....."
CHITRAKSH 2010
24-Jun-15 1:58am
View
no i want customization in my online reading like, disable/enable download etc.
please guide .
CHITRAKSH 2010
17-Feb-14 3:09am
View
Sir
Please find below my code
include_once "facebook-php-sdk-master/src/facebook.php";
//initializing
$config = array(
'appId' => 'myappid',
'secret' => 'myaddsecret',
'cookie' => true
);
$facebook = new Facebook($config);
//getting user id
$uid = $facebook->getUser();
if($uid)
{
echo $uid;
$params = array( 'next' => $currentUrl );
$logoutUrl=$facebook->getLogoutUrl($params); // $params is optional
echo "
Logout from FB
";
//$facebook->destroySession();
try
{
$user_profile = $facebook->api('/me','GET');
echo "Name: " . $user_profile['name'];
}
catch(FacebookApiException $e)
{
echo "ERROR";
}
}
else
{
//if user is not logged in then get the login user
$params = array(
'scope' => 'read_stream, friends_likes, email',
'redirect_uri' => 'http://www.comettea.com',
'display' => 'popup',
);
$loginUrl = $facebook->getLoginUrl($params);
echo $loginUrl."<br />";
echo "
Login in FB
";
}
CHITRAKSH 2010
17-Feb-14 3:07am
View
Deleted
Sir
Please find my code
include_once "facebook-php-sdk-master/src/facebook.php"; //initializing $config = array( 'appId' => 'myappid', 'secret' => 'myappsecret', 'cookie' => true ); $facebook = new Facebook($config); //getting user id $uid = $facebook->getUser(); if($uid) { echo $uid; $params = array( 'next' => $currentUrl ); $logoutUrl=$facebook->getLogoutUrl($params); // $params is optional echo "Logout from FB"; //$facebook->destroySession(); try { $user_profile = $facebook->api('/me','GET'); echo "Name: " . $user_profile['name']; } catch(FacebookApiException $e) { echo "ERROR"; } } else { //if user is not logged in then get the login user $params = array( 'scope' => 'read_stream, friends_likes, email', 'redirect_uri' => 'http://www.comettea.com', 'display' => 'popup', ); $loginUrl = $facebook->getLoginUrl($params); echo $loginUrl."<br />"; echo " Login in FB "; }
CHITRAKSH 2010
16-Feb-14 23:37pm
View
include_once "facebook-php-sdk-master/src/facebook.php";
//initializing
$config = array(
'appId' => 'myappid',
'secret' => 'myappsecret',
'cookie' => true
);
$facebook = new Facebook($config);
//getting user id
$uid = $facebook->getUser();
if($uid)
{
echo $uid;
$params = array( 'next' => $currentUrl );
$logoutUrl=$facebook->getLogoutUrl($params); // $params is optional
echo "
Logout from FB
";
//$facebook->destroySession();
try
{
$user_profile = $facebook->api('/me','GET');
echo "Name: " . $user_profile['name'];
}
catch(FacebookApiException $e)
{
echo "ERROR";
}
}
else
{
//if user is not logged in then get the login user
$params = array(
'scope' => 'read_stream, friends_likes, email',
'redirect_uri' => 'http://www.comettea.com',
'display' => 'popup',
);
$loginUrl = $facebook->getLoginUrl($params);
echo $loginUrl."<br />";
echo "
Login in FB
";
}
CHITRAKSH 2010
16-Feb-14 23:34pm
View
Thank you Sir for response.
I have read the same and tried but every time $facebook-> getuser() returns 0.
It return with current URL + a "code" parameter
the value of code is
AQApCZ3JHKYX_FdSwcWSrvk-IF4rxVmiNsu3YeI89kn64YCmutLspYKt1iusywBqwJZrKA5ZnkTDo0Jc0TzP_dzjxuUcCmSfNfPvwoKEiJfIG0oEuWs4wILYhaeJuVpO1RYyz7V0A0-3iI0oO6tcxoCKxBhcZ6NIAk8l_0U8W5IQ3P9qJmuC-3Md4N65z4TQeKZ7nqPTOo1zJTtrG_YZ_5XLqpRlcnQm_6vzje57OJX9heUP_UUHs9oqKz7Czta2EEtzpoVktn7DS8TBZOwRZ1CAIS_KyHYy8QGZj_NKH4JllGmd8D3226njjYaTGpbNDyU&state=f03af5b926770594e7522ef619f6b479#_=_
Please guide/help
CHITRAKSH 2010
26-Apr-13 3:35am
View
I also need the patch
Please help
CHITRAKSH 2010
3-Mar-13 2:00am
View
Dear Sir,
What is ImapClient ? is this a library?
I need the code behind ImapClient library
CHITRAKSH 2010
22-Feb-13 9:58am
View
my purpose is to know detail of my office computers connected in LAN
CHITRAKSH 2010
22-Feb-13 9:55am
View
Deleted
my purpose is to know detail of my office computers connected in LAN
CHITRAKSH 2010
22-Feb-13 9:54am
View
using win app in C#
Show More