I would like to use firebase dynamic links for sharing posts in my app via a link.
I found out that the firebase admin SDK can't generate dynamic links. So that leaves a question: should each user generate a dynamic link each time they want to share a post via link?
If there are 10k posts, a lot of links will be generated.
Having a link like https://myApp.app.link/postID would be more efficient because everybody could use the same URL to share.
Is this possible or should each user generate a personal share link?
Thanks in advance!
There is a REST API that you can use to generate Dynamic Links too. It sounds like you're looking to use that.
If the Admin SDK were to add support for Dynamic Links, it will likely be a fairly thin wrapper around that REST API.
Related
We are planning to integrated firebase dynamic link to track content sharing and referrals in our app.
Firebase provides analytics data for how many times a user clicked on a url as mentioned here.
Since we are going to generate these links programmatically for referrals, is there any way to do a more granular tracking ?
Like if I want to see how many times all the links generated were clicked.
Or something like how many times a link with a particular parameter was clicked.
I tried looking through firebase docs but I don't think these usecases are covered there.
And if thats correct, what is a better way to track this ?
If you want to collect the analytics data for programmatically created dynamic links, you'll have to use REST API. Though, I also think that you can use BigQuery but I haven't tried this before. Collecting the data via Firebase Console is not yet available.
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 know Facebook open graph self hosted object uRLs should have their meta tags describing the object.
But I was wandering if they are supposed to have anything else at all?
i.e. Should they also provide user content? or are they just used for FB scraping?
It depends on what you are trying to do.Take a look at facebook Sharing Best Practices documents.
I'm creating web site on zend framework and want to place statistic into my admin panel. Is there any js plugin (something like GA api) for getting styled graphs?
You may take a look at this:
http://d3js.org/
and that:
http://techslides.com/50-javascript-charting-and-graphics-libraries/
it depends on what you want to display a line graph, a map ...
Check out EmbeddedAnalytics. (Disclosure - I work with them) EmbeddedAnalytics is based on the GA API. To do what you are asking is simple:
Create Account and grant embeddedanalytics access to your GA data.
Define your charts/reports.
Get embedding iframe code.
Embed this code into your site where you want them to show.
Additionally, we are working on creating pre-defined dashboard pages which will allow end-user to embed entire dashboards into a page.
I normally use twitter both as a communication chat and as a short blog service. On my wordpress blog, I import the twitter messages timeline from one twitter account (specific for the blog-visible messages). For communication and chatting, I use another twitter account.
Having two account is a solution, but my geeky nature would prefer to have only one account, with the following magic: every message containing a special tag (e.g. "#blog") will appear on my wordpress blog page. Everything else will not appear on the blog.
Is it achievable with the standard twitter API? does something like this already exist for wordpress? The technical solution would be equivalent to a search for a tag only on a specific user's messages, something that, as far as I see, is currently not possible.
Thanks.
You'll want to use the twitter search API. Use this url to pull the data that you want to display:
http://search.twitter.com/search.xml?q=%23blog&from=mikeluby
You can change the .xml to .json if you want the query to return in json. Remove the ".xml" to get the normal search page to test out the query. Obviously you'll want to change "mikeluby" (my twitter username) to your username.
Update: There may be an issue with the xml return currently on twitter. I would check to see if it works for you. If it doesn't I would suggest switching to the json return or waiting until the problem is fixed.