Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator bcworkz

    (@bcworkz)

    The code is contained in $_GET['code'] though I’ve no idea what you’re supposed to do with it. Neither would WP unless you’ve set something up specifically.

    When generating shortcode output, do not echo it. It can end up in strange places on your page. Accumulate all output in a variable, then return the variable when your shortcode handler is finished. The do_shortcode() function that called your handler will echo out the returned value where it belongs in the page flow.

    Thread Starter jbush82

    (@jbush82)

    I’ve given this some more thought and effort since originally posting, and I’ve basically created a go-between script for WP and FB to interface with. I’m passing information (non-sensitive) through the URL and then using $_GET to pull it down. So far it appears to be working for my needs, but I’m not completely finished yet.

    With respect to the echo, thanks for the tip regarding do_shortcode(), hadn’t run across that yet.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Plugin Development – Facebook Integration for User Login and Join’ is closed to new replies.