Results 1 to 3 of 3

Thread: If logged in fb show message

  1. #1
    Join Date
    Jan 2012
    Posts
    25
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default If logged in fb show message

    Hello.
    I am looking that the visitors already logged in facebook that comes to my webpage gets an extra message like "You are logged in facebook" or "Welcome $FBUSERNAME"
    I have been looking to tutorials on facebook help page but i dont see an end to this. I have to say that its not an app issue, its for my website.
    Does somebody knows how to do it?

    Thanks

  2. #2
    Join Date
    Jul 2008
    Location
    Derbyshire, UK
    Posts
    1,961
    Thanks
    16
    Thanked 305 Times in 304 Posts
    Blog Entries
    11

    Default

    I haven't tried personally but this looks promising : http://www.tomanthony.co.uk/blog/det...cial-networks/
    Focus on Function Web Design | Latest News RSS | Facebook | Twitter |
    Fast Edit (A flat file, PHP web page editor & CMS. Small, FREE, no database!) | Fast Edit BE (Snippet Manager) (Web content editor for multiple editable regions!) | Fast Apps |
    The only limit to creativity is imagination: JemCon.org

  3. #3
    Join Date
    Apr 2008
    Location
    So.Cal
    Posts
    3,643
    Thanks
    63
    Thanked 517 Times in 503 Posts
    Blog Entries
    5

    Default

    Your website can be a FB app. If you want to integrate with FB, I think that would be the most sensible approach. You could also use Oauth. Either approach would require the user's consent before you could know their login status/ user info (which is as it should be).

    The hack that Beverly pointed out is workable, but might not be for long. "Undocumented" behaviors are undocumented for a reason: they're not intended to be consumed, and might change without notice. On top of it, it smells like hacking (technically is hacking, even if it's not malicious), so it might earn you FB's wrath if they find out about it.

Similar Threads

  1. Show hidden fields when logged in
    By fobos in forum PHP
    Replies: 8
    Last Post: 10-15-2009, 08:57 AM
  2. Add show\hide delay to dHTML Tip Message
    By Itlan in forum Dynamic Drive scripts help
    Replies: 0
    Last Post: 05-02-2009, 09:52 PM
  3. Advanced RSS Ticker (Ajax invocation), show 2 message?
    By wakatanka in forum Dynamic Drive scripts help
    Replies: 1
    Last Post: 07-25-2007, 09:58 AM
  4. Replies: 9
    Last Post: 07-05-2005, 11:00 AM
  5. Pausing up-down message scroller Show 2 Messegs!? Simple
    By davidr in forum Dynamic Drive scripts help
    Replies: 2
    Last Post: 07-05-2005, 05:07 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •