Search Posts

Category: facebook

Facebook inspector over angularjs app, javascript not loaded

My site is built with AngularJS and Worpress as a single page application and based on the page I’m routing I define appropriate meta tags in the controller. This is my HTML header: <meta property=”og:url” content=”{{ngMeta[‘og:url’]}}” /> <meta property=”og:title” content=”{{ngMeta[‘og:title’]}}” /> <meta property=”og:description” content=”{{ngMeta[‘og:description’]}}” /> <meta property=”og:image” content=”{{ngMeta[‘og:image’]}}” /> This is working correctly, but I’m faced a problem when I’m trying to share a page on Facebook. Cause when it tries to look for the […]

Image previews do not appear in Facebook when posted from iOS 11 via Branch

We have a cordova based Ionic 1 application. A user is able to share content to various channels to the likes of Facebook, WhatsApp among others. To achieve this, we have Branch io cordova plugin that brings up the share sheet to post to a desired channel. To enable the content preview on Facebook posts, following information is included: var properties = { objectId :, $og_title: obj.title, $og_description: obj.description, $og_image_url: obj.imageUrl, $og_image_width: 600, $og_image_width: […]

JavaSript: Login with facebook credintials and get/show the corresponding user info & albums/images

I need to add social login which is Facebook in my POC, with the help javascript-SDK I’m trying. For that created an appId but another user unable to log in. Please give suggestions, How to integrate FB login and after login get the user Info and user albums/pictures. Here are the references To get albums: Source: AngularJS

angularjs notification like facebook

I’ve already finished my mean stack project but now i want to add a notification service, but i don’t know where to start. I already read some tutorials but they’re too confusing for me. routes.js‘/usersv2’, function (req, res) { var user = new Userv2(); user.userId = req.body.userId; user.password = req.body.password; user.firstname = req.body.firstname; user.lastname = req.body.lastname; user.address = req.body.address; user.contactInfo = req.body.contactInfo; =; user.department = req.body.department; user.position = req.body.position; user.emploID = req.body.emploID; […]

Angular Facebook Share Integration. Not showing Open Graph properties (og:title, og:image) as expected?

I’m using Facebook v2.10 integrated to my angular application. There is a page which has dynamically changing content. Each content has a title, description, and an image URL. My objective is to share those content on facebook via facebook Sharing option. I have done 2 different approaches and still not able to achieve my objective. 1.) Via dynamically updating relevant og meta tags, using angular emit and on events. The code in the main HTML […]

Facebook native ad with ionic v1 ios

I have a legacy project using ionic v1. I need to integrate a native Facebook ad into the project so it will scroll with content. I see plugins and ionic solutions for ionic v2, but not v1. Has anyone added a facebook native ad to an ionic v1 app? Any insight would really be appreciated!!! Source: AngularJS

How to access meta OpenGraph with Sails Js?

I build a website using Sails js and Angularjs and I want to create facebook share button but I found a problem, it seems they cannot read my meta:og in my layout.ejs file. I am using but the result is : Inferred Property The ‘og:image’ property should be explicitly provided, even if a value can be inferred from other tags. Missing Properties The following required properties are missing: og:url, og:type, og:title, og:image, og:description, fb:app_id […]

Why I should extract three times the infromation from Facebook crawler to get my site information

I have a site made with AngularJS where in order to get the right information from Facebook to share the link, I need to go first to Facebook crawler and extract the information three times before getting the right data. The first time, I get the default information The second time I get the title and the description of the specific page, but not the image. The third time I get the full information (including […]

Authentication angularfire2 and Routes

I’m a beginner angular programmer, I’m doing an app with authentication with social network (Facebook & Google). in the logincomponent.ts indicates me an error, at the part “signInWithFacebook() “this.firebaseAuth.signInWithFacebook()” Property ‘signInWithFacebook’ does not exist on type ‘AngularFireAuth’. and the “this.router.navigate([‘dashboard’])” Property ‘router’ does not exist on type ‘AuthService’.any. I show the codes for if anybody helps me. Thanks for your comments. auth.service.ts import { Injectable } from ‘@angular/core’; import { Router } from ‘@angular/router’; import […]

Next Page »