<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Emma Yeroshek on Medium]]></title>
        <description><![CDATA[Stories by Emma Yeroshek on Medium]]></description>
        <link>https://medium.com/@emmayeroshek?source=rss-c2e5072383c3------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/2*8xtVJzUHkPfb-iTeiA322Q.jpeg</url>
            <title>Stories by Emma Yeroshek on Medium</title>
            <link>https://medium.com/@emmayeroshek?source=rss-c2e5072383c3------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 14:48:25 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@emmayeroshek/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[FaceBook user registration in app with several facebook applications]]></title>
            <link>https://medium.com/@emmayeroshek/facebook-user-registration-in-app-with-several-facebook-applications-b4e4019019ac?source=rss-c2e5072383c3------2</link>
            <guid isPermaLink="false">https://medium.com/p/b4e4019019ac</guid>
            <category><![CDATA[api]]></category>
            <category><![CDATA[facebook]]></category>
            <category><![CDATA[api-integration]]></category>
            <category><![CDATA[ruby-on-rails]]></category>
            <category><![CDATA[uid-facebook]]></category>
            <dc:creator><![CDATA[Emma Yeroshek]]></dc:creator>
            <pubDate>Mon, 04 Nov 2019 10:26:46 GMT</pubDate>
            <atom:updated>2019-11-04T10:26:46.599Z</atom:updated>
            <content:encoded><![CDATA[<p>Let’s get started with an example.</p><p>There is a company that has several applications and each application has a registration via FaceBook.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AYXPws5Cl_QZ1l-NZJqKRg.jpeg" /></figure><p>If you want to get some information about user — you could do it in such way.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/805/1*cmxguG_xKTpE5NcQDrWMDg.png" /></figure><p>raw_access_token — token that sends front to back.</p><p>When we going to each app and making a request to Facebook API it returns:</p><ol><li>for first app:</li></ol><p>{ “id”=&gt;”2261241304653674&quot;, “email”=&gt; “emma.yeroshek@gmail.com” }</p><p>2. for second app:</p><p>{ “id”=&gt;”2261239363986091&quot;, “email”=&gt;”emma.yeroshek@gmail.com” }</p><p>So, each application returns a unique facebook_uid.</p><p>What we can do in this case?</p><p>First of all, you need to create a company for your application or associate applications with an existing company.</p><p>Links below.</p><ul><li><a href="https://business.facebook.com/select/?next=https%3A%2F%2Fbusiness.facebook.com%2Fhome%2F#create-business">Log into Facebook | Facebook</a></li><li><a href="https://business.facebook.com/select/?next=https%3A%2F%2Fbusiness.facebook.com%2Fhome%2F#update-business">Log into Facebook | Facebook</a></li></ul><p>Than in your code you can get a list of your applications with unique ids for current user.</p><p>In such way.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/949/1*ANdTGj77Tu4TaFgKnM3qDw.png" /></figure><p>The example of output:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/936/1*8A_LPkMpSFECbQLFXhWHeA.png" /></figure><p>And you can get ids of user in different facebook apps.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/942/1*mmwEYpbHiOgBamrxeCJtuw.png" /></figure><p>So, now you can resolve it based on the current business logic of the application.</p><p>Good luck!</p><p>Link that could help you: <br><a href="https://developers.facebook.com/docs/apps/for-business/">https://developers.facebook.com/docs/apps/for-business/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b4e4019019ac" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>