I have a site (using PHP and JavaScript with jQuery) which allows users to display a profile, and I would like them to have the option of simply importing their LinkedIn profile, if they have one, rather than having to type everything in again.
I'm not sure what the best approach is here... I've read some of the LinkedIn API documentation, but I'm not even really sure which bit I need to look at.
The process should be:
User goes to profile management page
User is shown a checkbox saying "use my LinkedIn profile", and a textarea. If they don't want to type their profile into the checkbox, they check the checkbox, and somehow their Linked In profile is retrieved.
The LinkedIn profile is stored (or some kind of id is stored), so that the profile can be retrieved by anyone else at any time.
I'm not very familiar with the LinkedIn API, or with the site itself, so I'm not even sure what's possible. Does this sound possible, and if so, where do I start?
You can start with the User Profile tutorial here:
http://developer.linkedinlabs.com/tutorials/jsapi_profile/
The example uses jquery so it should be pretty easy for you to extend this to do what you want.
Related
I've used services like 'Add This' for a while but now I need to add a couple of specific bits of functionality to an ecommerce order completion page. It's to work like Amazon's order thank you page where it allows you to post a message to Facebook saying something like 'I just bought a widget on Amazon'.
Equally I'm looking for the equivalent in Twitter.
I've added a bunch of OG tags and share buttons but can't get it to do what I need. From further reading it sounds like I might need to create a Facebook app of some sort and use FB ui to create the link to post to the user's wall. I was hoping to do this without getting tangled up in that level of permissions etc but maybe that's not possible any more?
This is being developed on asp.net C#, in case there's a library that I haven't found in my searching.
Can anyone familiar with this type of development point me in the right direction?
For Twitter, the simplest way is to use Web Intents.
For example, if you want to share the text
I love http://example.com
URL encode the text to I%20love%20http%3A%2F%2Fexample.com and use the Twitter Web Intent URI. E.g.
https://twitter.com/intent/tweet?text=I%20love%20http%3A%2F%2Fexample.com
When the user clicks on that link (try it!) or is directed there by your service, they'll be prompted to share that text.
I'm trying to add an 'Apply by LinkedIn' button to my website. I realise the plugin was deprecatad and am trying to use the JS SDK to create this. What I currently have in place (as documented here) will allow me to sign in to my account, however, the documentation doesn't go any further. How is the user to apply for a specific position, should this be referenced in the url somewhere?
Also, I've submitted the application to access the API but have heard nothing back after 9 days.
Any feedback appreciated,
Thanks :)
I have an online magazine with news articles and i want to make an open graph action that everytime a user reads an article a story to post in his timeline.
I have all the nececery open graph tags in my urls and a login button with publish_actions scope.
I'm one step away from submitting the action for approval but i still cant figure out one thing.
The facebook's documentation says that i need to give users an option to stop auto publishing or remove the app etc. something like the image in the middle of this page http://developers.facebook.com/docs/opengraph/actions/builtin/#read .
I saw it also on yahoo and its exacly the same.
How can i make something like this in my site? The code is ready somewhere or i have to write it myself?
Thanks in advance!
The permission remove, or just a switch to stop publish of action and the delete article functions will have to be developed by you.
I am working on the same things for my app.
creating user CP control panel containing, revoke perms buttons.
a user CP to swich publishing on and off, via true/false in mysql
an array of app activities with delete buttons.
I would like to create a button with the name "Participate" that works like the "like" button on facebook.
I have an contenttype called Event, which should show the participate button, that logged in users can click, and add themselves to the event.
When looking at the content for Event I would also like to display a list of the users which have clicked the Participate button.
Is there someone who can help me with how it can be solved or what i should look into?
take a look at this module with some php knowledge you can make it , it's not what you really want but this guys pushed the hard part
The Activity module keeps track of the
things people do on your site and
provides mini-feeds of these
activities in blocks, in a specialized
table, and via RSS. The module is
extensible so that any other module
can integrate with it. The messages
that are produced are customizable via
the admin interface and are context
sensitive. Some theoretical example
messages include:
You wrote a comment in response to "example comment title"
Jim wants to be your friend. Approve this friendship here
Nancy is Phil's latest fan
http://drupal.org/project/activity
I'm currently working on an ASP.NET 3.5 intranet that uses role-based security, both on the page level and the page content level in some cases. I'd like to implement a site-wide search, but restrict results according to what the current user would normally see when they visit a given page. I suppose it would have to index the site separately for each user?
I've searched the ASP.NET community control gallery as well as Google, and have not found anything that can index in such a specific way. Can anyone offer a link to a pre-built control/solution that will handle this scenario, or a custom technique that I could try?
Thanks.
Basically, for each URL you retrieve you could have extra attributes to map the user to the resource as follows:
<a href="~/somepage.aspx" id="someLink" RoleAuth="xxx" RoleArgs="yyy" runat="server" />
Then you could use a Web Part, control, etc., to display each result link based on the user's logged-in credentials :-)
If you store somewhere that what content is accessible to what roles then it is only matter of another join in your query.
Another but expensive option is to get the search results and then filter them based on the accessibility of requesting user.