Creating custom tags - facebook

I knew that recently there was a bug that allowed you to tag someone without using their name.
Something along the lines of this: ##[0:[Facebook ID:0:Tag Name]]
This no longer seems to work. Is there anything in the api that will allow you to do the same? I am attempting to make a simple app that will allow people to easily create custom tags...

Facebook has disabled the old tagging method ##[0:[Facebook ID:0:Tag Name]], but have enabled tagging via the API (in limited form). Follow the Mention Tagging documentation.
You need to create an app and use actions in order to use it...

Related

How to link personal webpage on parse.com?

I want to link my personal webpage on parse.com, so that I can implement the verify_email_success.html file. But I don't find a text field where this works.
Any ideas how to achieve this?
Looks like you need to first sign up at Parse.com and then create a new application (which will represent your website).
From quick Googling, I've found this tutorial which looks to focus on the type of thing you are trying to do:
http://blog.bizzi-body.com/2015/05/17/adding-email-verification-to-the-parse-com-sign-up-process/
UPDATE:
From looking into this a bit more, it appears that Parse.com works very much like many other web-based services/APIs, in that to "link" your application (website in your case) with Parse.com, you need to specify the Application Key that Parse provides when you create a new application via their website.
Untested example based on Parse.com documentation:
Parse.initialize("APPLICATION ID", "JAVASCRIPT KEY");
Source: https://www.parse.com/apps/quickstart#social/web/new

confluence display content by user

I am trying to get specific content on a confluence cloud wiki to display content based on a specific user. The scenario here is that there are links on a page but only 1 should display, the one that displays is based on whom ever is logged in.
I have been told how a macro is the way forward, but I have read the documentation and I am at a loss. I do not understand what I have to do or how to write a confluence macro. could someone help me out with either an example or some links? I have searched like crazy, but maybe i am not asking the right questions but hopfully you can all help me out?
There's a plugin for this:
https://marketplace.atlassian.com/plugins/net.customware.confluence.plugin.visibility
But I'm not sure how thoroughly it hides the content. It might still be visible if users view the page source. If you're trying to hide content which needs to be really protected, you'll probably need to do something else.
Depending on how many users are going to be using the page, you could also just make separate spaces for them, add the permissions to those spaces, and then use a page-include on your "main" page to display the content. If they don't have access it shouldn't show up. You might experience some formatting issues with that solution, however.
Finally, you could grab the username with jquery and display stuff based on that. This solution will be pretty easy if you are familiar with javascript/jquery.
Edit: Here are some helpful resources on how to use javascript and jquery within confluence:
https://confluence.atlassian.com/display/CONFKB/How+to+Use+JavaScript+in+Confluence
https://developer.atlassian.com/confdev/confluence-plugin-guide/writing-confluence-plugins/including-javascript-and-css-resources

DokuWiki: Automatic keyword detection and linking to existing pages

I have a portable DokuWiki set up on my computer. Release 2014-09-29d "Hrun".
I have range of pages already created on multiple topics. I wanted to know whether it is possible for the Wiki/Plugin to automatically detect keywords and link them to existing pages.
For example: If I have a page name "cat" then if I mention "cat" anywhere on a new page I would like it to link the keyword to that page. Is this possible?
I have tried to use AutoLink3 however I was unsuccessful as it doesn't seem to work as described.
Maybe CamelCase links is what you are looking for.

OwnCloud enhance core features with App (eg. user registration)

I started looking into OwnCloud app development to add some capabilities I would like to my server. To me it seems like Apps can't modify anything like the Login page or User Management page. Is this the case?
I want to build a user registration app and would love to integrate it into the user management page (if not and it has to exist as its own app page not a big deal). The one big problem I see so far is not being able to add a "Register" link to the login page. I could just go in and add it to the source manually, but I would like to keep the App self contained so others can use it too.
If this is not possible to do in an App I may just need to modify the core application and then see if they will accept my feature addition in a pull request.
Thanks to anyone who can shed some light on this for me. I don't want to waste my time trying to figure out how to do it with an App on the platform if it wont be doable.
After a lot of digging around I did figure out a way to do this.
In the App's app.php file, you can force a script to be loaded if the plugin is enabled:
$api->addScript('script_name'); // without .js
In that script jQuery can be used to add the elements to the page where you need them.
This was a good solution for me since I only needed to add a single button to the login page. I can see this being a bad idea if you want to make vast modifications. At that point you might as well just create a separate page that you have full control over.

Name input like SMS or Facebook app

I'm trying to find a library that can handle autocompletion with tokened (grouped) texts.
There are some very nice libraries out there for autocompletion such as:
https://github.com/EddyBorja/MLPAutoCompleteTextField
https://github.com/hoteltonight/HTAutocompleteTextField
https://github.com/TarasRoshko/TRAutocompleteView
The problem here is, I want to make the selection look like names tagging at SMS or Facebook app. So when the user tries to delete, he should delete all the text.
There are good jQuery implementations, one of them is this:
http://loopj.com/jquery-tokeninput/
I couldn't find any for iOS, perhaps the keywords are very generic, thus Google does not show any related results. Is there any library for this or can you provide any code examples?
What you're trying to achieve can't be done using the public SDK.
However, there exist some nice third party solutions.
I found this question, Is there an iPhone equivalent to the NSTokenField control?, which includes links to controls you could use.