Does this offer a built in method that redirects to canvas page if you make to make it just a facebook app? I did this but when facebook adds it’s own query , my app dosen’t load, might have to do if HTTP_REFERER contains apps.facebook.com it should be good to go.
Does this offer a built in method that redirects to canvas page if you make to make it just a facebook app? I did this but when facebook adds it’s own query , my app dosen’t load, might have to do if HTTP_REFERER contains apps.facebook.com it should be good to go.
If the user hasn’t installed the app or hasn’t given the permissions he will be redirected to the app authentification dialog where he can grant the permissions, once he has, he will be redirected to your app page on facebook (apps.facebook.com/myapp).
If the user hasn’t installed the app or hasn’t given the permissions he will be redirected to the app authentification dialog where he can grant the permissions, once he has, he will be redirected to your app page on facebook (apps.facebook.com/myapp).
Where would I use this?
I am also using the following code, in my hook. Assuming that if come to my app and you are not logged in, it will automatically redirect you to the canvas page to “get app”, is that a correct assumption. Meaning the person that is in my app is logged in.
$CI->fb_me = $CI->fb_ignited->fb_get_me(true);
Also using, need to make this into a hook. I don’t want anyone to access my real domain, if they do it will redirect to the canvas page (apps.facebook.com/your-app-name)
If the user hasn’t installed the app or hasn’t given the permissions he will be redirected to the app authentification dialog where he can grant the permissions, once he has, he will be redirected to your app page on facebook (apps.facebook.com/myapp).
Where would I use this?
In your controller if you need special permissions.
sweetD - 17 August 2012 09:41 AM
I am also using the following code, in my hook. Assuming that if come to my app and you are not logged in, it will automatically redirect you to the canvas page to “get app”, is that a correct assumption. Meaning the person that is in my app is logged in.
$CI->fb_me = $CI->fb_ignited->fb_get_me(true);
Jepp, if you use that the user will be redirected to the login dialog if he isn’t logged in.
sweetD - 17 August 2012 09:41 AM
Also using, need to make this into a hook. I don’t want anyone to access my real domain, if they do it will redirect to the canvas page (apps.facebook.com/your-app-name)
Also the last code I shared, has to do with if anyone views the source and see a link in my app that goes to http://www.my-original-app-location.com/controller/view and they go to it, I want it to redirect them back to the canvas page, because with out that code, if the user is logged in, it will take them to that website and not redirect them to the app. I’m trying to build a inside of facebook “native” app, or at least a simulated “native” app.
It did, I saw them on the right side of the screen, but when I print_r the $this->fb_me none of that additional stuff is added on, such as user_groups. I did notice birthday, email. Seems to be basic stuff.
Haiii….. great library…. im very curious to develop my project with this…
i just wanna to ask some basic question…
1. i cannot understand how the welcome page like button is not showing that such as “You like this” if i click like… is there some config missed or mistype ? My config
2. is it possible to show status of users who using myFbApps that i created ? i have read it that i need some kind a access token to make it works but on the facebook_ignited methods i never seem any access token to input to get user data array…..
3. if is there a access token to access user data, how to make it never expired…... (need a official school portal to show some school status in my portal…so since it official i should make the access token never expired)
4. is it possible to user to create some event on facebook by using this library ?
thanks for the library, your respond and sorry for my basic question….. i guess this would be a good reference for some beginner like me in advance
I can answer #1, when you load the site inside of facebook like button dosen’t appear if you go to the url of your canvas page http://yourAppDomain.com you’re likely to see the like button. I can’t tell you why, nor did any pop ups work for me while I was within the app.facebook.com/yourApp, but outside everything worked fine.
I can answer #1, when you load the site inside of facebook like button dosen’t appear if you go to the url of your canvas page http://yourAppDomain.com you’re likely to see the like button. I can’t tell you why, nor did any pop ups work for me while I was within the app.facebook.com/yourApp, but outside everything worked fine.
i use the demo page from fresh facebook_ignited welcome page,
the problem is when i click like… the button never change to “You like this apps” or something like that or any number of how many people like my apps ?
sorry i guess my #1 question does not very clear..