Posts

Digital Marketing

Request body and Length limit to share on Linkedin by API

POST https://api.linkedin.com/v1/people/~/shares?format=json Request body Field Description Max Length (chars) content A collection of fields describing the shared content. title The title of the content being shared. 200 description The description of the content being shared. 256 submitted-url A fully qualified URL for the content being shared. n/a submitted-image-url A fully qualified URL to a thumbnail image to accompany the shared content. The image should be at least 80 x 150px for best results. n/a comment A comment by the member to associated with the share. If none of the above content parameters are provided, the comment must contain a URL to the content you want to share.  If the comment contains multiple URLs, only the first one will be analyzed for content to share. 700 visibility A collection of visibility information about the share. code One of the following values: anyone:  Share will be visible to all members. connections-only:  Share will only be visibl...

How to enable NetBeans modules

Tools -> Plugins -> Installed -> Activate. You have to install it first if it is not available inside "Installed".

Example of HtmlUnit: login to Twitter

angular-seed — the seed for AngularJS apps

Angular-seed is an application skeleton for a typical AngularJS web app. You can use it to quickly bootstrap your angular webapp projects and dev environment for these projects. The seed contains a sample AngularJS application and is preconfigured to install the Angular framework and a bunch of development and testing tools for instant web development gratification. The seed app doesn't do much, just shows how to wire two controllers and views together.

How to fix MySQL: ERROR 2013 (HY000): Lost connection to MySQL server at 'reading initial communication packet', system error: 2

This is likely because the client is being denied to access the MySQL server. Check the server firewall .  If you are restricting connections, make sure this line is in /etc/hosts.allow: mysqld: ALL Or check if the host is listed in /etc/hosts.deny.

Different ways of targeting AdWords ads

AdWords offers different ways of targeting: Keywords:  Words or phrases relevant to your products and service, which are used to show your ads when customers search for those terms or visit relevant websites. Ad location:  Show your ads on search engines, commercial sites, or personal sites. Age, location, and language:  Choose the age, geographic location, and language of your customers. Days, times, and frequency:  Show your ads during certain hours or days of the week, and determine how often your ads appear. Devices:  Your ads can appear on all types of devices, and you can fine-tune which devices your ads appear on and when.

How to Combine Multiple RSS Feeds with Google Scripts

This Google Script takes 2 or more RSS feeds and mashes them up into a JSON feed that you can call from an external app by publishing the script as a web app. Internally, the script uses URLFetchApp to fetch the XML feed and parses it using the Xml service. This can also be used for single widgets that output data from multiple RSS feeds.