I am currently using the MySites dashlet to link users to another webpage. The problem is that anybody who knew the URL could access the same page (which has proprietary information on it).
I would like to create a link within SugarCRM to a webpage that is only accessible to users who are currently logged into the CRM. How can I do this?
Is-it un internal SugarCRM page? If yes you can use an entryPoint for that with "auth" params to true: http://support.sugarcrm.com/02_Documentation/04_Sugar_Developer/Sugar_Developer_Guide_6.5/02_Application_Framework/Entry_Points/02_Creating_Custom_Entry_Points
Related
On my app, users can login and signup with the accounts-password package.
I added service configuration and facebook packages to allow them to connect user external service.
For now, users can log in using a "connect with facebook" button, or using the classical method (email + password).
But my problem is that, when a user log in with facebook, he is only "logged", his profile is empty, all the data i have about him is his _id and profile{name: "his facebook name")}.
I'd like to be able to get more informations to complete his profile from facebook informations, and so, check if it is the first time he connect via facebook. If it is, he must add some informations to be able to naviguate through the website.
The problem is that i can not find ANY usefulll doc about the accounts-facebook package. Even on the official website, there is a link to the atmoshpere package page, but there is nothing else written on this page than the link to the official doc, wich sends me back to atmoshpere ... (Epic Doc....).
I googled a lot about that, but all i find was some smalls tutorials about how to add a "connect with facebook" button and how to set a facebook dev' app ... Nothing new for me.
Could someone guide me plz ?
Thanks you
If you need more data, you need to use the scope parameter: https://developers.facebook.com/docs/reference/javascript/FB.login/v2.3#permissions
...but in order to detect returning users, you should ONLY use the id.
I have a web page linked to a Facebook application where users can log in by their Facebook account.
I have also a Facebook page for my application where anybody can post.
What I'd like to achieve is the following:
- An ordinary user logs in to my web page using her Facebook account,
- She adds an information to my web page (for example a book name),
- That information is instantly posted to my application Facebook page under page's name (for example "this book is read by someone").
I don't want it to be posted by the user, I don't want it to be posted by myself (admin of the page).
I don't want to mention about the user, it will be anonymous information.
But I couldn't find a way to do it either as JS or PHP.
Any suggestion is welcome.
Many thanks.
You will need to get a page access token. https://developers.facebook.com/docs/facebook-login/access-tokens/
Get it, store it somewhere on your server – and then use it when making the API call to post what the user entered.
I'm looking for a way to redirect each user that logs in to a different page. I do photography and want my clients to be able to log in then be redirected to a page that displays their pictures only. Additionally, that specific user will be the only one to be able to view that page. I know you can redirect all users after logging in to a specific page and hide certain content from those not logged in but that is not what I'm looking for... it needs to be user specific. I'm new to Joomla and looking for a way to achieve this.
If you install FLEXIcontent CCK and use that for content creation -
it enables you to set up individual pages per user:
http://www.flexicontent.org/forum/index.php?f=20&t=6762&rb_v=viewtopic
http://www.flexicontent.org/forum/index.php?f=20&t=6132&rb_v=viewtopic
In case anyone else is looking for how I solved this...
I did some research on this and came across a plugin called Phoca Gallery. It doesn't redirect the user to a specific page but rather lets you set viewing rights to specific users. So I created a "Client Page" that only shows to registered users (i.e. when someone is login in) and have the joomla login module redirect all users to that page after login.
Now on my "Client Page" I have the phoca gallery module set to only show albums that the user has rights to. A good work around for what I needed. It even lets you add watermarks to your images... a good bonus... and an even better bonus... It's free!
Find it here: http://www.phoca.cz/phocagallery
I would like to implement the following things in my website. I have done some extensive search over the internet but couldnt find and specific examples on how to implement them
I am developing this site in php using a mvc framework
Would like to have facebook registration on my website - users who have an account in facebook will get an option to use the details to register in my site, using their authentication I would pull the relavant details from their account and create a new account for them in my website. I would like to use facebook register fbml/fbjs in this case
Would like to have facebook login used to login into my site. How to use the sessions is what I would like to know?
I would like to make posts to the facebook-wall of the users registered in my site. Also if possible sent messages to them through my code whenever a new post is made to my site.
Thanks for your help.
For login and registration, you can check out http://developers.facebook.com/docs/guides/web/.
This one is for wall posts and you should be able to implement it in any language. It is given step by step.
http://thinkdiff.net/facebook/graph-api-iframe-base-facebook-application-development/
i've built a survey and at the end i want the users to share their result on their facebook wall but i'm finding it hard to find any examples or reference.
something like;
<div>
[ image/graphic ]
"I've just completed survey XXX and got 90%"
<a>post on my wall</a>
</div>
any help appreciated - even if its just terminology i can look up!
Start here. Basically, you're creating a website which you want to integrate into Facebook. To do so, your users will need to "login to Facebook" from your site (unless they're already logged in, such as in another browser tab) and allow your site to perform certain actions on Facebook on their behalf.
The Single Sign-On part is where you will initialize your website as a Facebook application (you'll need to create the application on Facebook first) and provide a login button for your users.
Your login button can be set up to ask the user for specific permissions to act on their behalf with Facebook. I think the one you want is publish-stream but I'm only barely familiar with it, play around with the functionality and see what works best for you. Your users will be presented with a pop-up div stating that your website (or application) is requesting these specific permissions and they have the option to allow or deny. An example can be seen here.
Once you have the user's permission, you make use of the cookie (demonstrated using PHP back on the Single Sign-On link) to gain access to information by use of the Graph API, the JavaScript SDK, Social Plugins, etc.
you should use the facebook api.
Get the "publish_stream" right of a user and use the "api" method of the connection object (with parameters like : '/userid/feed', 'post', array of informations about the post).
I can't find the right code and the official document is not always up-to-date.
OR
Just add a facebook "share" button on your page that uses "meta" markups. You should find examples on about 80% of websites.