Solved

Is user subscribed to my app?

Posted on 2010-11-19
2
326 Views
Last Modified: 2012-05-10
Hi all,

I'm working on a facebook app and I know how to add a subscribe button but what I need to know is how do I check (in code) if
the user is acually subscribed to me application?

Hope someone can help

thank
0
Comment
Question by:error77
2 Comments
 
LVL 109

Accepted Solution

by:
Ray Paseur earned 500 total points
ID: 34178017
I'm not conversant in Facebook Apps, but the general design pattern is to require some kind of registration and login authentication.  Then you can cookie the browser to remember the client for as long as you want.  Your code can "remember" a returning client from the cookie, and can re-authenticate whenever you need to make an important change to the data model (or use money) by just asking for the password.

Some examples here:
http://www.experts-exchange.com/Web_Development/Web_Languages-Standards/PHP/A_2391-PHP-login-logout-and-easy-access-control.html

HTH.  Leave the Q open a little while and maybe some others can weigh in with FB-specific suggestions,
0
 

Author Comment

by:error77
ID: 34186125
Interesting Article.

I was really looking for something Facebook API specific if possible though...
0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
Since pre-biblical times, humans have sought ways to keep secrets, and share the secrets selectively.  This article explores the ways PHP can be used to hide and encrypt information.
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

815 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now