provide these lines when calling initialization:
FB.Canvas.setSize({ height: (newHeight+20) }); setTimeout(function() { FB.Canvas.setSize({ height: (newHeight+40) }); }, 100);
Full code:
window.fbAsyncInit = function() {
// Use Case: | |
// Get all values from API. Loop thru collection and provided control with value. | |
<div class="btn-group" data-toggle="buttons"> | |
<label ng-repeat="cover in Benefit.availableCovers track by $index" class="btn btn-default-outline large-button-switch {{ Benefit.BenefitData.benefit_cover_type_id == $index ? 'active' : null }}"> | |
<input | |
ng-click="Benefit.BenefitData.benefit_cover_type_id = $index" | |
type="checkbox" | |
name="benefit-renewal" | |
ng-model="Benefit.BenefitData.benefit_cover_type_id" |
WP: | |
image: "centurylink/wordpress:3.9.1" | |
links: | |
- "DB:DB_1" | |
ports: | |
- "8080:80" | |
environment: | |
- "DB_PASSWORD=pass@word01" | |
- DB_NAME=wordpress | |
dns: |
TRIGGER | |
https://registry.hub.docker.com/u/exe1/test/trigger/2979d576-fdd4-44c8-91c5-e25d4c5c3296/ | |
TOKEN | |
2979d576-fdd4-44c8-91c5-e25d4c5c3296 | |
curl -H "Content-Type: application/json" --data '{"build":true}' -X POST https://registry.hub.docker.com/u/exe1/test/trigger/2979d576-fdd4-44c8-91c5-e25d4c5c3296/ | |
https://dashboard.tutum.co/api/v1/service/d7b3110e-88ce-4fde-8165-04817ecc058c/trigger/55892f67-7da7-471a-8fd7-994e8fbafbcf/call/ | |
remote.origin.url=https://github.com/stankusl/test.git |
<?php | |
namespace App\Http\Requests; | |
use App\Http\Requests\Request; | |
use Illuminate\Support\Facades\Route; | |
class OfficeRequests extends Request | |
{ | |
/** |
provide these lines when calling initialization:
FB.Canvas.setSize({ height: (newHeight+20) }); setTimeout(function() { FB.Canvas.setSize({ height: (newHeight+40) }); }, 100);
Full code:
window.fbAsyncInit = function() {
Function:
function shorten_text($text, $max_length = 140, $cut_off = '...', $keep_word = false)
{
if(strlen($text) <= $max_length) {
return $text;
}
if(strlen($text) > $max_length) {
Instructions
Add new bookmark to your booksmarks with the following script.
Press Bookmark :
javascript:window.open('https://www.facebook.com/dialog/pagetab?app_id=' + prompt('App Id') + '&display=popup&next=https://www.facebook.com/connect/login_success.html');