0
Posted on 2:58 AM by Softminer and filed under

How to generate long life access token

1. First you need to create an App, for creating app go to https://developers.facebook.com

From menu App, choose Add a new app

when you created app you will have a App ID and App Secret key

2. Gerenerating short access token which is 1 hour valid
From menu choose Tools -> Access Token
then you have the "User Token"

3. Call facebook Api
Go to Tools-> Graph API explorer
for example /me?fields=id,name
would be https://graph.facebook.com/me?fields=id,name&access_token={access_token}


4. To generate 2 months valid access token, use following get request

https://graph.facebook.com/oauth/access_token? grant_type=fb_exchange_token& client_id={app-id}& client_secret={app-secret}& fb_exchange_token={short-lived-token}

app-id you get from step 1
app-secret you get from step 1
short-lived-token you get from step 2

5. Long life valid token
$facebook->api("/PAGE_ID?fields=access_token");



related links +

0
Posted on 2:24 AM by Softminer and filed under , , ,

Summary of Technical Summit (Keynote)

Visual Studio online for project management, TFS

http://aka.ms/vsosecurity   (microsoft security)

Some Shortcuts in visual studio
--------------------------------------------------------
Track active item in Solution explorer
Navigate To (Ctrl+comma)
Scrollbar (User map mode for vertical scrollbar)
Ctrl F10 (Run to Cursor)

http://en.wikipedia.org/wiki/HTTP_pipelining

OWIN defines a standard interface between .NET web servers and web applications.
Katana - OWIN implementations for Microsoft servers and frameworks

Open application insights is analytics for online projects

--------------------Xamarin------------------------------

Xamarin forms is available for business accounts, On Xamarin forms standard control can be used and it will replaced by device user control, Xamarin forms dont have UI designer currently.

PCL = Portable class library as a share library in Xamarin project
Yumtoso is an example of Xamarin project which is online ( A universal App)
http://winstoredev.com/yumtoso-fastfood-app/


Xamarin generate pure Objective C code
NO IL-code
.Net runtime

Genymotion is an android simulator on MAC os

Mobile web app ui design
http://www.telerik.com/kendo-ui1

Apache Cordova is a set of device APIs that allow a mobile app developer to access native device function such as the camera or accelerometer from JavaScript. Combined with a UI framework such as jQuery Mobile or Dojo Mobile or Sencha Touch, this allows a smartphone app to be developed with just HTML, CSS, and JavaScript.

Bower.io is a package manager for web
ionic

npmjs package installer

http://www.visualstudio.com/en-us/explore/cordova-vs.aspx

Cross platform application

Tools for Apache Cordova Update: iOS Debugging & Windows 8.1 Support

Video Presentation
--------------------------------------------------------------------------------

asp.net Next version
http://www.asp.net/vnext
http://www.asp.net/vnext/overview/aspnet-vnext/vc
http://www.asp.net/vnext/overview/aspnet-vnext/aspnet-5-overview
http://msdn.microsoft.com/en-us/library/dn481095.aspx

Announcing ASP.NET features in Visual Studio 2015 Preview and VS2013 Update 4

Release management for visual studio 2013
----------------------------------------------------------------------
Some related video can be found on Channel 9 http://channel9.msdn.com/Events/TechEd/Europe/2014

News about .Net Open source
0
Posted on 2:53 AM by Softminer and filed under ,

This is the structure of Simple Ranorex project




In Login repository we can track the inputs on the page.



In Code Module we create instance of login repository, fill them up and navigate throgh the test



Test Suite contains test cases, there we have to add our exisitng test module to it, every test module can have only one databinding and test will run for rows you define.

Local varibles should be defined in the code module and they could bind to varibale in database.

0
Posted on 8:19 AM by Softminer and filed under ,

Here is a good example of publish subscribe design pattern in c#
http://www.codeproject.com/Articles/34316/Topic-based-Publish-Subscribe-design-pattern-imple

Here you can read about Publish Subscribe design pattern
http://en.wikipedia.org/wiki/Publish%E2%80%93subscribe_pattern

WCF has already some method to implement it
http://www.codeproject.com/Articles/34333/Topic-based-publish-subscribe-design-pattern-imp

0
Posted on 7:18 AM by Softminer and filed under ,

To install TFS 2013 you need to install SQL server 2012 or 2014
Look at the requirement here
http://msdn.microsoft.com/en-us/library/dn641202.aspx

After installation you have to create new TeamProject

and choose a process template for that, Here is the default process template
http://msdn.microsoft.com/en-us/library/ff731587.aspx

To be able to customize a template you should be able to download the template, edit it and upload it
http://msdn.microsoft.com/en-us/library/ms243782.aspx

Modify or add custom work Item
http://msdn.microsoft.com/en-us/library/hh409273.aspx

0
Posted on 5:05 AM by Softminer and filed under ,

Comparing with selenium Ranorex is very much powerful but costly which start from 690€.
Selenium has a lot problem with browser compatibility and It doesnt work for example with Firefox versions.

Here is a tutorial about Testing web Service
0
Posted on 4:46 AM by Softminer and filed under ,

http://www.codecademy.com Free courses mostly about Web
http://www.pluralsight.com Minimum 29$/Month Microsoft products (Free trial) My recommendation
https://www.udacity.com Minimum 199$/Month Free trial Course materials are free
https://www.coursera.org Free courses From most universities in Many languages