![]() | facebook session from script/console |
|
21 Mar 2010, 19:13
Anant Chaudhary (17 posts) |
I need to access a user’s information from facebook from within a cron job (basically a rake task with environment access – and so similar to accessing from script/console). What I need is just the user’s name to address a newsletter properly – I would have stored that but facebook terms seem to state that i can only store the id and the proxy email. So I have the facebook id and need access to the name. The book does suggest keeping the session in the model but that works for just an hour :(. Any ideas? |
|
21 Mar 2010, 19:19
Anant Chaudhary (17 posts) |
This seems to work… |
|
22 Mar 2010, 12:39
Mike Mangino (543 posts) |
You can get basic information without a session, but to get more detailed information you will need the user to grant you the offline_access extended permission. Mike |
|
10 Jun 2011, 10:47
elvin alvian siagian (1 post) |
HI Mike I was request for extended permission “publish stream” and user on my page was allow that but why user on my page can’t publish to profile ? I think extended permission just request one time and user allow that permission then user can publish to profile facebook . Regards |
| You must be logged in to comment |

