RPXnow(Jarmain) facebook connect help
-
Hey everyone, i apligize for my previous posts and how they were not fully detailed. Since i cant find them on the forum i will give the full details here.
I am trying to get my wordpress blog to have the facebook connect feature using RPXnow.com (currently janrain.com). In the sample code generator, it instructed me to put the following code before the </body> tag. (i put it just below the footer where the body tag ends.
<script type=”text/javascript”>
var rpxJsHost = ((“https:” == document.location.protocol) ? “https://” : “http://static.”);
document.write(unescape(“%3Cscript src='” + rpxJsHost +
“rpxnow.com/js/lib/rpx.js’ type=’text/javascript’%3E%3C/script%3E”));
</script>
<script type=”text/javascript”>
RPXNOW.overlay = true;
RPXNOW.language_preference = ‘en’;
</script>It next generated the code to put on each of my pages to display the button.
<a class=”rpxnow” onclick=”return false;”
href=”https://harlaninstitute.rpxnow.com/openid/v2/signin?token_url=http%3A%2F%2Fharlaninstitute.org%2Fhome”> Sign InI put the above code on the HTML visual editor side of the wordpress blog.
Next it displayed me the following page:————–
Users are redirected to the token URL you specified in the previous step.
Pass the token to the Janrain API to get the authentication information.
Your token URL implementation should do the following:* 1) Extract the token parameter from the POST data.
* 2) Use the token to make the auth_info API call:
URL: http://rpxnow.com/api/v2/auth_info
Parameters:apiKey
83c980d95a2ba47b2997f0cbc4d7d14f3696bb35
token
The token value you extracted above* 3) Parse the response and extract the identifier. Here’s a sample JSON response:
{
‘stat’: ‘ok’,
‘profile’: {
‘identifier’: ‘http://user.myopenid.com/’,
’email’: ‘(email visible only to moderators and staff)’,
‘preferredUsername’: ‘Joe User’
}
}
——————————————-This is where i am lost, as i have minimal experience in coding outside of C++ (and have only had one class going up to arrays). Any advice as to how to set this up would be greatly appreciated.
The wordpress im trying to integrate is http://harlaninstitute.org/home/
Thanks!
-
You did not specify a blog address or reason for posting when you created this topic.
This support forum is for blogs hosted at WordPress.com. If your question is about a self-hosted WordPress blog then you’ll find help at the WordPress.org forums.
If you don’t understand the difference between WordPress.com and WordPress.org, you may find this information helpful.
If you forgot to include a link to your blog, you can reply and include it below. It’ll help people to answer your question.
This is an automated message.
-
That’s NOT a free hosted wordpress.COM blog. You are posting to the wrong forum. Please go where the support bot points and post to http://wordpress.ORG/support as we cannot help you here.
- The topic ‘RPXnow(Jarmain) facebook connect help’ is closed to new replies.