Linkedin Add to Profile button is not working if not logged in - linkedin-api

If user is not loggedin, addtoprofile is directing to a blank page instead of loginpage. Is this the intended behaviour?
[Sample link](https://www.linkedin.com/profile/add?startTask=CERTIFICATION_NAME&name=Test%20Certificate&organizationName=LinkedIn&issueYear
=2018&issueMonth=2&expirationYear=2020&expirationMonth=5&certUrl=https%3A%2F%2Fdocs.
microsoft.com%2Fen-us%2Flearn%2Fcertifications%2Fd365-functional-consultant-sales&certId=1234)
Addtoprofile Documentation

Related

FB Comments - not logged in

I am trying to switch from Disqus to Facebook comments, but I have issues with the comment widget.
Here is the page: http://www.czechgamer.com/hledani.php?tag=z-domova#4
The issue is that even though I am logged in to Facebook, the comment box on the page doesn't show me as logged in. I have "Log In to Post" there button but in fact, can't do anything other than to click on the default avatar picture, which opens new window - a facebook page - where I am logged in. But on my page, whatever I try, I am still not logged in...
What am I doing wrong?
Thank you,
Robert

Facebook Login Button with show-faces="true" ignores registration-url

Not sure if this is a bug or if I'm missing something in the docs, but when I set show-faces="true" for the Facebook Login Button plugin on my website, it seems to stop paying attention to the registration-url parameter.
This one works as expected:
<fb:login-button registration-url="http://mysite.com/my_registration/"></fb:login-button>
Result:
if user is not logged in to FB, will display "Login". When clicked,
will prompt user to login. Once user logs in, if they are not registered with my site, will redirect to http://mysite.com/my_registration/. If they have already registered, will just close the auth dialog.
if user is logged in to FB, but not registered with my site, will display "Register". When clicked, will immediately redirect to http://mysite.com/my_registration.
if user is logged in to FB and already registered, will display "Login" but won't do anything when clicked.
All of this is fine and good. But, when I add show-faces="true" like so:
<fb:login-button registration-url="mysite.com/my_registration" show-faces="true"></fb:login-button>
Result:
the faces show up, so that's good. However...
if user is not logged in to FB, will display "Login". When clicked, will prompt user to login. Once user logs in, if they are not yet registered with my site, it will register them, but it will not redirect to the url specified by registration-url.
if user is logged in to FB, but not registered with my site, will display "Login" (instead of "Register" like the example above). When clicked, again, does not redirect to the registraiton-url.
if user is logged in to FB and already registered, it will show the faces, but it will not display the login button.
I haven't been able to find anything to explain the behavior. Anybody got any ideas or links? Thanks in advance.

Login and Cancel at Auth Dialog

So I have a facebook canvas page that holds some info and buttons http://www.facebook.com/theminespress?sk=app_289102104446763.
First Question is...
When the user clicks on the app link they are taken to a log in page:
http://www.facebook.com/connect/uiserver.php?app_id=287405277948067&method=permissions.request&redirect_uri=http%3A%2F%2Fapps.facebook.com%2Fchocolate_sender%2F&response_type=none&display=page&perms=publish_stream&auth_referral=1
Even though they are already logged in? How do I just get them straight to the auth dialog for extended permissions?
Secondly if the user selects "Don't Allow" on the extended permissions screen they are still taken into the app? I'm not seeing it go to:
http://YOUR_URL?error_reason=user_denied&
error=access_denied&error_description=The+user+denied+your+request
As described in (http://developers.facebook.com/docs/authentication/).
What am I doing wrong? Please Help.
You need to override the facebook's default action. See my answer to this post for sample code http://facebook.stackoverflow.com/questions/7886134/facebook-requests-2-0-how-to-change-accept-button-url-to-be-a-url-outside-of/7987489#7987489 - do follow the link to the facebook's help page.

Exchanging iframe tab with Facebook wall

Good Day,
Is there any way one can have the Facebook Iframe tab as the default landing page on Facebook, after a user liked the page.
That means when ever a user who "liked" the page visit the facebook page again, he will see the tab first and not the wall as a default.
Go to your page, go to Edit Page, go to Manage Permissions, there you will see Default Landing Tab...
Then parse signed_request and redirect user if needed...
There is no way to set the default landing tab for users who already like your page - only for users who don't already like the page

Default Landing Page For Facebook Application not working?

The settings of facebook application give under:
App settings>> Wall Settings>> Default Landing Tab for Everyone Else >>
provide an option to set the default landing page as wall.
But changing this setting is not working at all ..
i have checked for user who has liked and user who has not liked my application.
Is this a FB Bug ?
Liking has nothing to do with it. That setting is for your app's Facebook page, not the app itself (i.e. canvas page). When a user comes to your app's page, that setting determine what "tab" is shown.