Search the Community
Showing results for tags 'tokens'.
-
Hey everyone I finally reach a point where I need to go a little further in what social integration is about. That said, and starting with facebook, I've read a few docs and follow the documention but a few questions still remain. I will start to say what I have understood so far: I've created the app in facebook, configured everything just right (I even manage to get a local and production environment going on) I manage to successful login and get the returned url with the token flag From what I understood, I need to get an access_token from this return token, using the php sdk method provided by facebook (something along the lines of $facebook->getAccessToken(); ) The problem: I want to have a like button (with the share dialog). Currently I'm not managing to get the like to appear on the user timeline - I do have permissions, given upon user login. My question: Has anyone implemented something like this? Should I get the access_token and store it in a session variable? How can I associated the access_token to the "like" request? What is usually the basic workflow? What I have: The user click the login button, gets redirected to the facebook page. Logs in, accepts permission and gets back to the mydomain.com/token=facebook_token. I have a script associated specifically to this url (script that upon login, registers/logs the user into my actual website). I think in this script, I can store whatever tokens I need, I'm just trying to figure out where to use them! I've ask around and either this is just so simple no one cares to explain or I'm just having bad luck! Thank you very, very much for your attention. ps.: I'll buy you a beer!
-
Hey there, sorry if this is in the wrong section. Basically what I want to do is have a link via email when it comes to a product reminder that they purchased this expensive item I am selling, while the link will take them to this free for three times use video to watch as a thank you for still sticking with the purchase. I do not want this video to get out, like if the person goes to the url, they cannot copy and paste the url to all their friends to watch the video for free. So it does have a cap on it, also would like to monitor if the button was ever gone to, how much of the video was watched, etc. Just want to get some ideas from everyone to get a better picture as to where I should start...